mrulrich Posted December 12, 2017 Share Posted December 12, 2017 (edited) This is my first post (sorry about the length) in these forums, though I've browsed through them in wonderment over the last couple weeks. I'm really hoping someone can remember enough about developing on these old platforms that they can help me. I'll start from the top. I was back East to visit my Mom and Dad a couple weeks ago and the topic of the old TI99/4a came up. My Dad built and sold a game for the 99/4a back in 1983. It ran on a 5.25" floppy with the TI Extended Basic cart installed. He happened to find one of the old disks that was in mint condition. I mailed it over to David at RetroFloppy and he made me an image. I loaded it into the JS99er Java based emulator and IT LOADED!!! That's where my luck started running out. It ran through the first 40 or so lines of code and it crashed with an I/O Error 33 at line 480. So, I called my stepmom and had her dig out my Dad's old project binder that he's saved since the 80's. Low and behold, line 480 as he originally programmed it (see attached). My initial thought was that the program was trying to call back to the disk itself and there might be some sort of naming issue. I can't remember enough from BASIC to make heads or tails of the code. Further, its likely calling some other line of code that I don't have (but could likely get). JS99er is the only emulator I have tried it on so far. I've attached a screen shot of the screen right before it crashes (once you type "1"), as well as the .dsk file, and a picture of that line 480. I'm really hoping someone might have a solution for me. Is it possible that another emulator (i.e. - TI99sim) might resolve the issue? I'm positive this game ran on the original system when I was a kid. I'd like nothing more than to get this thing working and load it into a raspberry pi to give to my Dad for Christmas. If anyone has any ideas at all, please share them. Or, if you know someone I can contact that maybe could/would take a deeper dive I would be so appreciative. Thank you all in advance! EDIT: Forgot to attach the disk image Mike AZTEC.DSK Edited December 12, 2017 by mrulrich 4 Quote Link to comment Share on other sites More sharing options...
+InsaneMultitasker Posted December 12, 2017 Share Posted December 12, 2017 In js99er, the crash first happens in the LOAD program in the following lines: 460 OPEN #1:"DSK1.CETZA5",INTERNAL,OUTPUT,RELATIVE470 PRINT #1,REC 2:FN$480 PRINT #1,REC 1:U490 CLOSE #1 :: RUN "DSK1.AZTEC" I noticed two things. First, the reported error can be "fixed" by reversing the order of lines 470 and 480. It seems that the js99er disk handler is treating the file as sequential, not relative. Second, the file on disk is record length 80; the js99er debugger indicates the file is being opened as record length 128. If Rasmus sees this thread maybe he can take a quick look at js99er and determine if the emulator needs a tweak. Quote Link to comment Share on other sites More sharing options...
+chue Posted December 12, 2017 Share Posted December 12, 2017 Seems to work for me in the Classic 99 emulator, found here: http://www.harmlesslion.com/software/Classic99 This is what I get when I type 1: Quote Link to comment Share on other sites More sharing options...
Asmusr Posted December 12, 2017 Share Posted December 12, 2017 If Rasmus sees this thread maybe he can take a quick look at js99er and determine if the emulator needs a tweak. Should be fixed now in version 5.10.1. 3 Quote Link to comment Share on other sites More sharing options...
Sinphaltimus Posted December 12, 2017 Share Posted December 12, 2017 Oh come on now! 3 Quote Link to comment Share on other sites More sharing options...
AMenard Posted December 12, 2017 Share Posted December 12, 2017 Well, at least you weren't eaten by a Gru Quote Link to comment Share on other sites More sharing options...
PeteE Posted December 12, 2017 Share Posted December 12, 2017 Found the manual here. 3 Quote Link to comment Share on other sites More sharing options...
ramidavis Posted December 13, 2017 Share Posted December 13, 2017 (edited) ... Edited January 2, 2018 by ramidavis Quote Link to comment Share on other sites More sharing options...
mrulrich Posted December 13, 2017 Author Share Posted December 13, 2017 Should be fixed now in version 5.10.1. Wow, thank you so much for updating your code to allow this thing to run. It's been so enjoyably nostalgic to relive the hours I spent playing this game as a kid. Thank you, sir! Quote Link to comment Share on other sites More sharing options...
mrulrich Posted December 13, 2017 Author Share Posted December 13, 2017 Wow! Thank you all so much for your help with this. It's really rewarding to be able to boot up this nostalgic part of my childhood. I'm glad some of you are enjoying playing and I think my Dad would agree that this game now has more exposure than it did in 1983. Now, onto my next project. I'd like to load this game into a raspberry pi3. I've watched a bunch of video's on installing TI99sim (or others) on the pi with either RetroPie or Raspbian. I know this isn't the forum to discuss that setup. But, I wonder if you kind folks might could point me to a resource that could walk me through how to run a script that would boot straight to the game. That is, what I'd like to happen is that when my Dad connects the Pi to his TV and turns it on it books straight to the game's intro screen. That would mean, of course, bypassing the emulation station screen in RetroPie or requiring him to type in a command into the command line. You all have done plenty to help so far and I thank you very much. Please continue to enjoy Lost Treasure of the Aztec! Mike 1 Quote Link to comment Share on other sites More sharing options...
PeteE Posted December 17, 2017 Share Posted December 17, 2017 I found the treasure! But also a couple bugs. When I try to load a saved game, it gets an error "* I/O ERROR 02 in 270". And when the game asks "To what?", the answer must start at the 4th character typed. I totally cheated and looked at the basic source code using TIImageTool to figure out some hints. It was a puzzle in itself mapping the numbers to names in the code, but I had a lot of fun doing so. Here's a complete walkthrough that I used to 'Paste XB' in Classic99 (since I couldn't load a save file) WMOV BOUGET MACESSCUT VINCLE BRUGET CEMGET ROPNTIE ROPTHEROOGET ROPTIE ROPROWBOAGO BOAGET PLAWSCUT VINGET ROPNNWWGO SHEGET SHOESMAK CEMSWGO TRAGET BRALOO BRAGO TRACLI TREGO BRATIE ROPTHEBRAGO TRUGET ACOGO BRACLI ROPNDRO BRADRO MATEGET CANNNWWCUT CACDRO MACFIL CANEESGO CABLOO WALGET BOADRO BOAGO HOLGET HAMGET BUCSWNWWDRI CANDRO CANGET MACNENEDRO ACOLOO FORGO TRASDIGGET SAWNWCUT TREDRO SAWGET LOGNWNNDRO PLAEEGO WREGO LADGET SAIUWWWBUI BOADRO HAMSSESGET ACONWNNGO BOASET SAIGO ASHDIGGET KEYSEGO RUIUSE ACODRO ACOSWGO TEMUNL DOODRO KEYGET STOGO PASNGET SCEKNEREA MAPSEGO DOOLOO URNGET URNBRE URNREA BOODRO BOOGO ASHSEEGO GRADIGGO GRAGET STOUNGO PALCUT TAPDRO MACGO HOLGET ROBLOO ROBREA ROBWSWGO RUIGO BRINSSDIGDRO SHOGET BOTLOO BOTBRE BOTGET NOTESGO TRASESEECLI PYRGET TORDWWSSWDRO SCEGET BRALOO BRAFIX BRAGET MATLIG TORDRO MATSWNLOO CAVGO CAVLOO WALSSWSLOO WALREA NOTWNNLOO WALENWWWSESSWN And here's a map: Start at 37 +-------+-------+-------+-------+-------+-------+-------+-------+-------+ | |91 ES|92 WE|93 WS|94 W| |96 NS| | | | |ShoreOf|ShoreOf|ShoreOf|DeckOfA| |Draw-br| | | | | | | |WRE | |N=91 | | | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ | |81 NS|82 |83 N|84 U|85 S|86 S|87 S|88 W| | |ShoreOf|BalsaBo|ShoreOf|BelowDe|BeachOn|Ruins |PalaceO|RoomInT| | | | | |SKE SAI|BOA KEY| |TAP |ROB | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ | |71 NE|72 WES|73 W|74 S|75 E|76 WE|77 W| | | |ShoreOf|ShoreOf|ShoreOf|DimlyLi|RoadInA|RoadInA|RoadInA| | | | | | |SCE |BEA TEM|RUI COU|PAL GRA| | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ | |61 ES|62 NW|63 WS|64 NE|65 N|66 N|67 N| | | |AridPla|BalsaFo|Winding|Passage|Temple |Court-y|Grave-y| | | | |FOR TRA| | |STO DOO| | | | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ |50 ES|51 NW|52 NS|53 EN|54 WS|55 |56 D|57 U| | |VeryHot|VeryHot|SacredL|Winding|Winding|Priests|TopOfAP|OpenGra| | | | | | | |URN | |STO | | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ |40 NE|41 WE|42 NWS|43 |44 NES|45 WE|46 WE|47 WE| | |VeryHot|VeryHot|TheFoot|RoomInA|SacredL|Winding|Winding|Winding| | |CAC | | |HAM BUC|S=32 | |PYR |E=53 | | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ | | |32 NS|33 W|34 E|35 SE|36 WE|37 WS| | | | |SummitO|Trapper|ToolShe|GrassyM|RockyPo|Deserte| | | | |CAB |WAL HOL|SHO |SHE |BOU MAC| | | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ |20 S|21 ES|22 NW|23 |24 D|25 NS| |27 NS|28 E| |BoxCany|NarrowR|Mountai|LongBra|LargeOa|EdgeOfA| |Beach |Rowboat| |CAV=134| |CAN |ROP TRE|BRA | | |BOA ROO|PLA | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ |10 NE|11 NW| |13 |14 E|15 WN|16 WE|17 NW| | |SteepTr|WestSid| |EdgeOfA|EdgeOfR|Trail |JungleT|JungleT| | |charmed|ROP | |CHA |TRE TRA| | |VIN BRU| | +-------+-------+-------+-------+-------+-------+-------+-------+-------+ +-------+-------+-------+-------+-------+ |130 ES|131 WE|132NWES|133 WES|134 NS| |Winding|Winding|WindRED|Winding|Winding| | | |N=102 | |N=20 | +-------+-------+-------+-------+-------+ |120 NWE|121 NES|122 ES|123 NWS|124 NS| |WindGRE|Winding|Winding|Winding|Winding| |W=123 | | green | | | +-------+-------+-------+-------+-------+ | |111NWES|112 NES|113 ES|114 NWS| | WIN |Winding|Winding|Winding|Winding| | |W=114 | | | | +-------+-------+-------+-------+-------+ |100 NE|101NWES|102 NE|103 NWE|104 N| |Winding|WindRED|Winding|Winding|Winding| | |S=131 | | red | | +-------+-------+-------+-------+-------+ 2 Quote Link to comment Share on other sites More sharing options...
mrulrich Posted December 17, 2017 Author Share Posted December 17, 2017 PeteE, glad you enjoyed it! I remember scratching maps onto graph paper when I was a kid to try to find the treasure. Ironic fact: my Dad, the author of the game, graduated from Beaverton HS. I see you ran the game in classic99? Maybe I need to try that, I'm having a hell of a time getting TI99sim to read the disk image. Quote Link to comment Share on other sites More sharing options...
Shift838 Posted January 29, 2018 Share Posted January 29, 2018 (edited) I got it to work on my ti99sim with no errors. if you want feel free to call me and we can try a few things ( 832-472-0805 ). now I did have to rename the file from AZTEC.DSK to aztec.dsk for some reason. from my pi home directory (type cd ~ and press enter) I typed: ti909sim-sdl --dsk1=RetroPie/disks/aztec.dsk xb25.ctg It loads up, I can select a new game and the program setups the new game and it starts a about a minute. after it starts as you know I'm on a beach. I can capture my image if you wish and put it on google drive. Chris Edited January 29, 2018 by Shift838 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.