Jump to content
Come try out our new Arcade we just put up, new games added weekly. Link at the top of the website ×

LordOfChaos

**- Inactive Registered Users
  • Posts

    2162
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    35.00 USD 
  • Points

    0 [ Donate ]

Everything posted by LordOfChaos

  1. See bud! Told ya you would be b4 Christmas. Welcome to your new home... It's official, you are an idiot!
  2. Sorry I couldn't be of more help. Let me know how you do.
  3. I have read your questions and I think I am on the right track. If you can program the routines, but can't seem to organize the data, then I can help. It's how you store the values in variables, then access them to Mae the output appear in the array you are talking about. I understand databases really well... Shit if you saw the tables I created in this telco I used work for in the 90s .. Imagine a telephone company with only certain info on each call... Cuts no, time call was made, origin of call, destination of the call, and duration of the call. Then there were all these cross reference tables to determine what discount we gave in what regions in the world, and at what time of say as discounts were given in non peak hours... Lol and I have to create a program that actually made sense of all that and produced a bill for each customer. This is much the same you need here, without all the cross tables, you have all the data you need in each record. All you need to do is store the values in variables, add to them them output them in the appropriate format. Is this what you are stuck with?
  4. Where are you located? USA? If so I can call you on my phone. I got unlimited LD in northamerica
  5. Ok so you need a variable that stores the accumulated values of each sale for each salesperson. The language is somewhat familiar, but not enough for me to follow the routines. I can see the concept fairly well. But I can't read the program well enough to follow. The easiest way to visualize it is to see one record as a string of characters. Each value like the salesmans Id is in the same position every time for each record. You have a string with 3 values in it, first 3 chars are the salesman I'd, the next 4 chars is the product Id then the last 9 chars is the value of the $ sold for that sale. If every record has the exact number of chars in the string, then you know you have to read 16 characters to get one record. Then the next 16 and so forth, until you encounter the EOF marker. I think I may be confusing you more than anything.
  6. Well my forte in programming was database management... Hence arrays. Not that difficult. The easiest way to do it is imagine a spread sheet, like excel. That would be how the output would be configured. But your file is sequential, and each record or entry into the file would consist of a line of data. They gave you the specs. You got 4 sales people, and 5 products. You have to have an 3 digit number with the right most being the sales persons I'd. . 001, 002, 003, Then the products have 4 digit id's. 0001,0002,0003,0004. Then the value of the sale, being 9 digits. 000002134 <~ 21.34$ so one record would in sequence 00010003000002134. Salesman # 1 sold product 3 for 21.34$ then you have some end of record marker to tell your process that the next record starts there. And so forth until you have an end of file marker... Am I wasting your time here? Is this what you are looking for?
  7. Hmmm... Data base management at its lowest level. To be honest, it would probably take me a while to get my skill set back to where I can actually write again. Do you have any sample assembler program? So I can read them. You could take some routines already written to access the .dat file, as well as prompt the user, these are all out there somewhere. All you really need to do is find these modules, and make them work together. Most good programmers comment the hell out of their routines,. It makes it easier to read. So for example: Search for a routine that puts values on the screen. That is the prompt. Then you need another module to accept the input from the user. You probably already thought of all that. Even when I was in school learning, we all kept our processes, and reused them over and over. I really wish I could help you, but doing the actual programming would take me a few weeks in the least to get some basic knowledge back in my brain. Try to build your routines with a flow chart first. Map it all out how you see the program interacting with the user interfaces, and the .dat file. Of course you would have to have an eof (end of file) marker so you can put everything in a "do while" loop until it encounters the EOF marker. That will fix the random number of data entries they require. When is this due?
  8. I'm not sayin no... But I will have to get back up to speed, and that could take a bit of time. Here's a link you can check out. I am going to start reading it all again, so if you have and specific problems, let me know so I can try to concentrate on that. http://cs.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html Remember everything is in hexadecimal math. . Base 16 math. Not fun to follow for sure.
  9. Well, we have 2 problems here, I don't have proper internet ATM, I am tethering my android phone to my iPad, just so I don't die of boredom, and keep in touch with the gang. The second thing is it has been so bloody long, that I hardly remember it all. I would have to do some serious reading to get back up to speed. What kind of time line are you looking at, and what degree of program is required? Is it advanced, or just basic stuff?
  10. Yea, it does require a certain level of concentration. I did program in assembler in the mid 80's but haven't touched it since. I am sure there is a wealth of information and many many routines accessible on the net somewhere. So when you say the x86 processors, are you referring to the very first 8086 chip set or the 80286, 80386 and 80486 chips? I can vaguely remember it. Accessing registers directly, popping them, jumping etc... Lol boy boy you woke some memories here!
  11. Oh. Never mind. Go for it ed. I thought it was the entire game with premium like the bf3 I bought.
  12. Lol fire, they were just phasing out bloody punch cards when I started programming. Some whiz kid invented the keyboard! And then they invented the word processor. What an innovative time that all was. I think my age is showing now,,,
  13. The 8086 chip. Holy crap I used to program the 8086and the 8088 chip set way back ing the mid 80's. I'm sure that's not what ur talking about...
  14. Vancouver, BC, Canada... How do I add add my location?
  15. What is masm? I used to program years ago, but never heard of that language.. If it is one
  16. That is so true! Good one BB! Give me a sexy woman over 40 any day! She will appreciate you for you, and not try to change you into something you are not. I love Andy's rants!
  17. Well done pink! You star is at it's apex... Hope it keeps on shining!
  18. You gotta hand it to this guy, he's got guts and won't be pushed out. Apparently he is doing wonders for the economy of Toronto, and people love him. Most other politicians would have resigned by now, not gone on national radio and told his retractors to essentially fuck off! Lol
  19. Please explain how this works... I am interested... How would I get the game, and how would I pay you? Pm me the details pls.
  20. I never over clock. lol just be happy you didn't leave it running and gone out... Would have fried your home too!
  21. This is very serious. Chemicals in everything today is diminishing the rate of male births. The video is a bit long, but you gotta stay informed. If ya can't watch it all right now, save it for viewing later. Let me know your thoughts.
  22. I have been sayin this shit for years. Quite a while back I got a temp job at a water bottling company, and they filled 7 different kinds of water from the same source. This big tank. Yup... Directly from the tap. What people don't realize is the plastic leaks estrogen, thus changing men's sperm count and lowering male births. Google " where have all the boys gone. " and see for your self. No bottled water for me.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.