I started messing around with some stuff tonight. So far I have my COBOL app loading up some parsed records from the original Wry game.
No real user interaction as of yet. I'm still thinking about how I'm going to deal with different screens having different amount of choices. COBOL uses a table data type to get array like behavior that I can use.
Something like below ("CHOICES" is the array in question):
Planning is going to be needed with how I'm going to format the input data files. COBOL loads files based on fixed width of the variables so making this not look like a mess in the data files will be fun. The one good thing is that it looks like COBOL offers indexed sequential file access and relative file access on top of basic sequential file access so I can have one story file to load from that will hopefully be fast to access. (I might think about making a story creator program as well to make creating stuff easier...hmmm)
Here's a first screen shot with data ripped from QB Wry. It's about 95 lines of code and about 35 of them is the old Wry logo I copied in.
as the stuff was originally written on teletypes to punch cards. A basic program would look something like the following. In non-free format COBOL, the first 6 characters are for line numbers. 7 starts either a comment or a continuation character and 8 starts section A. Section B starters further on.... more
7 characters on a punch card would only be like 128. I thought some COBOL was done as capital letters for OPCodes and lower case for other stuff? Guess that depends on your compiler? 12 years to actually write code? They do say programming is very much prep work, but 12 years? lol Nice that your... more
Original fixed format COBOL had a limited number of characters wide you could go before having to start a new line with a continuation character in space 7. In my COBOL IDE, you can see the red lines to the right indicating max width. The ones on the left are to mark where area A and area B start. Line... more
That's a significant part of the available memory on your box... Even if you max it out, it's still like 32 MB. Technically the 32-bit chipset could handle up to 4 GB, but it was rare to have a motherboard that could handle anywhere close to that.
I would actually like to upgrade it higher but need to I guess figure out the RAM type I need. It's been so long since I've even tinkered with the hardware on it, I've forgotten so much. I remember when we had it upgraded back in the mid 90s, the guy told us that the max was only 16mb for some reason.... more
and they were pretty standard. It wasn't until PC100 that things got messy. Some boards wouldn't use a double-sided SIMM, I think that was happening with both 30 and 72-pin SIMMs. Yours might be one of them. Chances are memory limitations are going to be a chipset issue. With a board this old, you... more