tomj@pro-pac.cts.com (Tom Jenkins) (05/26/89)
HELP! I asked a couple of days ago about converting a basic program from DOS 3.3 to ProDOS that I got several years ago. Although I received several suggestions, I guess I have to be more specific about my questions. First of all, some background on the program and problem. The program is a basic program called "BINGO" that bruns a machine language program (BINGO CODE) into the upper part of RAM at $7500 and then returns back to the main BINGO and continues the basic program. The program begins with initialization, a command "PRINT CHR$(4);"BRUN BINGO CODE", then a restore, sets up dims then goes and sets up the screen. After setting up the 75x5 matrix, it attempts to load the cards (that you have already "poked" into data statements) in the end of the program in a data section (for i=1 to x, read x(n), next etc etc). The machine language part that is loaded at $7500 sets the ampersand call (&) character for the machine language jump at $3F5, and some of the basic program calls to that vector look like this: 420 & PUT,N or 640 & BELL:& BELL:& BELL or 770 & HIGH,HI:CN=HI:VTAB 14 When I try to run the program, I get a syntax error at the first "&" command - in this case it's line 420 (see above). To fix the BRUN BINGO CODE problem, I tried "BRUN BINGO.CODE", "BLOAD BINGO.CODE,A$7500", etc all to no avail. The other vectors (set up in the machine language code) are: & BELL & ENTER & PUT & RESET & SHOWCOUNT & ZAP & SETCARD & SHOWCARD & HIGH & LOW & LINEIN If anyone has a knack for this kind of stuff, I would really appreciate it. I would like to convert this thing over to ProDOS and put in on my hard drive. I tried getting ahold of the author, but no dice. Running from DOS 3.3 is very frightening anymore! Also, if anyone would like a copy of the program, let me know...I'll send it for your perusal. -- UUCP: {nosc, cacilj, sdcsvax, hplabs!hp-sdd, sun.COM} ...!crash!pnet01!pro-nsfmat!pro-pac!tomj ARPA: crash!pnet01!pro-nsfmat!pro-pac!tomj@nosc.MIL INET: tomj@pro-pac.CTS.COM - BITNET: pro-pac.UUCP!tomj@PSUVAX1