+JAC! Posted June 15, 2017 Share Posted June 15, 2017 Wow! Tested it with 1.4. also and you're right. I was 100% sure I had that problem and programmed "around it" for years. And I always wondered why still most program run (well, hard program use the feature to return values from ML). It is even mentioned in the 2nd revision of the "Turbo Basic Handbuch" (German, ABBUC). I'll make sure it'll be removed from the 3rd revision, in case one is released. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3784740 Share on other sites More sharing options...
flashjazzcat Posted June 15, 2017 Share Posted June 15, 2017 I found that returning values via USR worked in the interpreter, but was broken in compiled programs. 1 Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3784754 Share on other sites More sharing options...
pirx Posted June 16, 2017 Share Posted June 16, 2017 ditto Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3785556 Share on other sites More sharing options...
erichenneke Posted June 17, 2017 Share Posted June 17, 2017 I found that returning values via USR worked in the interpreter, but was broken in compiled programs. yep, exactly. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3786148 Share on other sites More sharing options...
peteym5 Posted June 17, 2017 Share Posted June 17, 2017 It will be an issue with the compiler and that run time program. Turbo Basic Interpreter is what I have the source for. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3786556 Share on other sites More sharing options...
Kyle22 Posted June 20, 2017 Share Posted June 20, 2017 I ran into that one as well. Is the bug in the compiler, runtime or both? Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3788151 Share on other sites More sharing options...
mechanerd Posted December 16, 2017 Share Posted December 16, 2017 (edited) Is there a version of Turbo Basic XL with the fixes compiled and ready to run? I could use the runtime for the old copy of the Action Annex BBS written in BASIC XL. I really want to run the actual hardware and not the emulator. Eventually I want to migrate to Altirra. I came across a Happy Computer 1.5 Turbo Basic by Ostrowski but it dumps the BBS code . I don't have the actual cartridge anymore for plain Turbo Basic XL or Basic XL. It's been a very long time since I compiled 6502 ASM. I could dust off the Macro Assembler. I'll trade you the Midi Music System source code I came across. I need to contact the author and see if it's freeware or abandonware, or ?? Edited December 16, 2017 by mechanerd Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3913304 Share on other sites More sharing options...
dmsc Posted December 16, 2017 Author Share Posted December 16, 2017 Hi! Is there a version of Turbo Basic XL with the fixes compiled and ready to run? I could use the runtime for the old copy of the Action Annex BBS written in BASIC XL. I really want to run the actual hardware and not the emulator. Eventually I want to migrate to Altirra. I came across a Happy Computer 1.5 Turbo Basic by Ostrowski but it dumps the BBS code . I don't have the actual cartridge anymore for plain Turbo Basic XL or Basic XL. It's been a very long time since I compiled 6502 ASM. I could dust off the Macro Assembler. I'll trade you the Midi Music System source code I came across. I need to contact the author and see if it's freeware or abandonware, or ?? Current version of the disassembled sources is at https://github.com/dmsc/turbo-dis Attached is the resulting ATR with original and bugfixed interpreters. tbasic.atr 2 Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3913356 Share on other sites More sharing options...
mechanerd Posted December 16, 2017 Share Posted December 16, 2017 Hi! Current version of the disassembled sources is at https://github.com/dmsc/turbo-dis Attached is the resulting ATR with original and bugfixed interpreters. Thanks! Will let you know if this fixes the issue,,, Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3913609 Share on other sites More sharing options...
peteym5 Posted December 17, 2017 Share Posted December 17, 2017 I looked over what people are considering a bug in Turbo Basic, and I quickly noticed that that those pieces of source code is something most people will not do when making a basic program. However I do recall there was an issue with a compile program not handling variable arrays properly. I had not a chance to mess around with this since the summer. Have other major priorities going on. It would be difficult to optimize anything further without sacrificing speed. My ideal to get around the SpartaDos compatibility issue is to use the first extended memory bank on a 130XE, but others came out and said, why don't we use the other 48K to store the program. Something I myself will not mess around with. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-3913721 Share on other sites More sharing options...
Ray Gillman Posted November 26, 2019 Share Posted November 26, 2019 (edited) On 6/6/2017 at 6:00 AM, peteym5 said: As you know, this is a work is a work in progress and I can change it back to your "X_" execute convention. I want to get a better understanding what does what before doing any advance optimization, but it looks like most of the floating point math sections should remain as is. At most I would probably would open up no more than a few hundred bytes anyway. I noticed there is a lot of JSR calling a JSR, then a 3rd JSR. One thing I do with my games and programs is if the JSR is only called once, copy and past the routine in place of the JSR and eliminate the RTS. Saves space and CPU cycles. TB 2.0 appeared to be able to work with a mini disk utility program (DUP) but I could not figure out what advantage that would had. Some DOS functions are available in Turbo Basic. To do advance DOS functions, its better to be in DOS anyway. I know a few want to include PM graphic functions, extended memory storage, string arrays. I personally want to add "ELSEIF" instead of "ELSE:IF" + extra "ENDIF" for each one. Here is what I changed the labels to so far. I changed CALC_VARTAB to CALC_VARIABLE_POINTER. Also in the Token Areas, I added a little comment to what the token values are. Not sure about function token values yet. TurboBasicXLMads.zip 98.63 kB · 115 downloads The 2.11 version would give a mini-dos as pictured and you could exit and do some limited things and then Quit back to basic and your code would still be there None of the other versions including 2.0 have this I don't believe. Seemed like a poor trade off for over 2.5K of program space in my view. I can't even tell you what Load Save and Verify do even. Dos goes to the real Dos and Quit just jumps back into the interpreter Edited November 26, 2019 by Ray Gillman Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4398965 Share on other sites More sharing options...
777ismyname Posted November 26, 2019 Share Posted November 26, 2019 37 minutes ago, Ray Gillman said: The 2.11 version would give a mini-dos as pictured and you could exit and do some limited things and then Quit back to basic and your code would still be there None of the other versions including 2.0 have this I don't believe. Seemed like a poor trade off for over 2.5K of program space in my view. I can't even tell you what Load Save and Verify do even. Dos goes to the real Dos and Quit just jumps back into the interpreter Petey or his known sock puppets are on AtariAge no longer. 1 Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4398993 Share on other sites More sharing options...
funkheld Posted December 7, 2019 Share Posted December 7, 2019 (edited) Hi good afternoon. is there also a turbo-basic compiler please? Thank you. greeting Edited December 7, 2019 by funkheld Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4405984 Share on other sites More sharing options...
777ismyname Posted December 8, 2019 Share Posted December 8, 2019 On 12/7/2019 at 4:41 PM, funkheld said: Hi good afternoon. is there also a turbo-basic compiler please? Thank you. greeting Yes, Turbo BASIC has a compiler available, as well as a linker & runtime to make standalone executable files. AtariWiki link — https://atariwiki.org/wiki/Wiki.jsp?page=TURBO-BASIC XL Serious Computerist Link — http://seriouscomputerist.atariverse.com/pages/language/language.basic.htm If you need some help just holler. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4406743 Share on other sites More sharing options...
funkheld Posted December 9, 2019 Share Posted December 9, 2019 the old compiler is 1.1, where not all commands "save" "load" are recognized. is there any new one like this new turbo-pascal from mads ?? greeting Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4407012 Share on other sites More sharing options...
baktra Posted December 9, 2019 Share Posted December 9, 2019 5 hours ago, funkheld said: the old compiler is 1.1, where not all commands "save" "load" are recognized. is there any new one like this new turbo-pascal from mads ?? greeting No there is not. There is a work-in-progress cross-compiler https://github.com/mgr-inz-rafal/tubac. The project appears to be on hold for two years. Or you can switch to FastBASIC that you probably already know. That would be my choice if I start any project from scratch. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4407127 Share on other sites More sharing options...
baktra Posted December 9, 2019 Share Posted December 9, 2019 On 11/26/2019 at 5:51 PM, Ray Gillman said: The 2.11 version would give a mini-dos as pictured and you could exit and do some limited things and then Quit back to basic and your code would still be there None of the other versions including 2.0 have this I don't believe. Seemed like a poor trade off for over 2.5K of program space in my view. I can't even tell you what Load Save and Verify do even. Dos goes to the real Dos and Quit just jumps back into the interpreter The mini-dos was included to actually operate cassette. You could save or load your TBXL program in the Turbo 2000 file format using the DOS. It also installed a T: device, loading and saving from tape using the Turbo 2000 system. At the time, it was quite useful for tape-only users (600 bps vs 2270 bps). Now, it is obsolete, of course. Quote Link to comment https://forums.atariage.com/topic/266070-turbobasic-xl-v15-mads-source-disassembly/page/2/#findComment-4407129 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.