KCMO Posted December 28, 2016 Share Posted December 28, 2016 Back in the 80's I used a secondary cartridge (the name Monkey Wrench sticks in my mind) that would allow me to automatically renumber my line numbers. GOTO and GOSUB lines would automatically be readjusted to address the new line numbers. Is there a command like that in Altirra? I can't find it.... Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted December 28, 2016 Share Posted December 28, 2016 I keep a file version of Turbobasic to load just for this purpose. Just about the only basic that allows renumbering without a separate add-on or cartridge.. 2 Quote Link to comment Share on other sites More sharing options...
xzerix Posted December 29, 2016 Share Posted December 29, 2016 Try the Atari User Basic toolkit - it's what I used to renumber programs back in the day. http://www.page6.org/pd_lib/standard/pd_277.htm 1 Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted December 29, 2016 Share Posted December 29, 2016 (edited) Back in the 80's I used a secondary cartridge (the name Monkey Wrench sticks in my mind) that would allow me to automatically renumber my line numbers. GOTO and GOSUB lines would automatically be readjusted to address the new line numbers. Is there a command like that in Altirra? I can't find it.... Well Altirra emulates the Monkey Wrench so you could go back to using that.. www.atarimania.com should have the needed image(s) (if it turned out to be Monkey Wrench II, just remember that one is a right hand slot, Altirra should auto work that out in the little box that comes up and you should see a few options including right hand slot. Or just use attach secondary cart in the file menu.. PS..The same site should also have the manuals, just to help any rusty brains To save you time, they only have Monkey Wrench II http://www.atarimania.com/utility-atari-400-800-xl-xe-monkey-wrench-ii_17608.html Here's Monkey Wrench I just in case.. Monkey_Wrench.zip Edited December 29, 2016 by Mclaneinc Quote Link to comment Share on other sites More sharing options...
russg Posted December 29, 2016 Share Posted December 29, 2016 (edited) here's a .ARC with a BASIC renumber in it. I just can't unarc it and just post the program. The .arc is a bunch of Atari utilities. Basic renumberer. X=USR(given,start,incr.). Always LIST prg. 1st. I guess it makes a USR that you enter 'given', the .BAS filename, 'start' say start at 10 and increment, say 10.UTIL1A shoot, I don't remember. You'll have to figure it out. UTIL1A.ARC Edited December 29, 2016 by russg Quote Link to comment Share on other sites More sharing options...
JamesD Posted December 29, 2016 Share Posted December 29, 2016 Back in the 80's I used a secondary cartridge (the name Monkey Wrench sticks in my mind) that would allow me to automatically renumber my line numbers. GOTO and GOSUB lines would automatically be readjusted to address the new line numbers. Is there a command like that in Altirra? I can't find it.... Just remember that Altirra supports some extensions including IF ELSE ENDIF. Renumber utilities for Atari BASIC aren't likely to work with extensions that use line numbers. Quote Link to comment Share on other sites More sharing options...
KCMO Posted December 29, 2016 Author Share Posted December 29, 2016 Wow, my head is spinning! Thank you for your suggestions. I'll try to digest each one. Quote Link to comment Share on other sites More sharing options...
atx4us Posted December 29, 2016 Share Posted December 29, 2016 Wow, my head is spinning! Thank you for your suggestions. I'll try to digest each one. Here's one more option. The OSS BASIC XL also renumbers Goto/Gosub line #'s references. The pluses to this option are it's 100% backward compatible with Atari BASIC and that no extra utility is required 1 Quote Link to comment Share on other sites More sharing options...
FULS Posted December 30, 2016 Share Posted December 30, 2016 Wow, my head is spinning! Thank you for your suggestions. I'll try to digest each one. If you are still comfortable using Monkey Wrench, try this link. http://atariage.com/forums/topic/125889-monkey-wrench/page-2?do=findComment&comment=1650472 There is a Rom at that link that combines Monkey Wrench with Rev C Basic. 1 Quote Link to comment Share on other sites More sharing options...
fujidude Posted December 30, 2016 Share Posted December 30, 2016 ... I just can't unarc it and just post the program. The .arc is a bunch of Atari utilities. ... Why can't you unarc it? Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted December 30, 2016 Share Posted December 30, 2016 Why can't you unarc it? Use Altirra, browse to it in Altirra's explorer and then drag the contents out.. Quote Link to comment Share on other sites More sharing options...
russg Posted December 30, 2016 Share Posted December 30, 2016 Why can't you unarc it? I looked briefly for a PC unarc utility and didn't find one. If I unarc it in Altirra, then I have to extract the file from the .ATR and I don't remember how to do that. Seems like I used 'makeatr'. Quote Link to comment Share on other sites More sharing options...
bfollett Posted December 30, 2016 Share Posted December 30, 2016 A quick search for PC unarc found this page that has links to a couple of programs under it Programs and Utilities section: http://fileformats.archiveteam.org/wiki/ARC_(compression_format)#Programs_and_Utilities Bob Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted December 30, 2016 Share Posted December 30, 2016 If I unarc it in Altirra, then I have to extract the file from the .ATR and I don't remember how to do that. Drag anything you want to extract out of the disk explorer window. 1 Quote Link to comment Share on other sites More sharing options...
russg Posted December 31, 2016 Share Posted December 31, 2016 here's a .ARC with a BASIC renumber in it. I just can't unarc it and just post the program. The .arc is a bunch of Atari utilities. Basic renumberer. X=USR(given,start,incr.). Always LIST prg. 1st. I guess it makes a USR that you enter 'given', the .BAS filename, 'start' say start at 10 and increment, say 10. UTIL1A shoot, I don't remember. You'll have to figure it out. I unarced it. Here's a MYDOS 4.5 .ATR with RENUMBER.BAS from ANALOG #27 (2/85), Angelo Giambra. I believe I REMed it to help use it. MYDOS45.zip Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted December 31, 2016 Share Posted December 31, 2016 (edited) Drag anything you want to extract out of the disk explorer window. Dats wut I said And if mem serves with the latest beta you can now ADD to the explorer although I'm not sure if it supports ARC's (not tested it myself) Just tested, nope, only to valid dos disks, no arc support.. Edited December 31, 2016 by Mclaneinc Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted December 31, 2016 Share Posted December 31, 2016 Yes... I reiterated the solution since it didn't appear to take first time. Quote Link to comment Share on other sites More sharing options...
russg Posted December 31, 2016 Share Posted December 31, 2016 (edited) I unarced it. Here's a MYDOS 4.5 .ATR with RENUMBER.BAS from ANALOG #27 (2/85), Angelo Giambra. I believe I REMed it to help use it. I'm afraid it doesn't work so good in Altirra, at least with the Altirra BASIC. You're supposed to RUN it and it installs a machine routine and gives you the address to USR to. I haven't finished playing with it, but so far I can't get it to work in Altirra. I'm going to use my dump of Atari BASIC and see if it works better than Altirra BASIC. You're supposed to RUN 'RENUMBER.BAS to install the machine routine. It then gives you the base address to USR to.... eg. X=USR(1652) after you install it and then LOAD your BAS to renumber, and LIST it to screen. I think you're supposed to be able to use START and INCREMENT eg. X=USR(2232,10,10). I'm not sure it works at all. Edited December 31, 2016 by russg Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted January 1, 2017 Share Posted January 1, 2017 I use Altirra BASIC for a speed increase (no disrespect to all the other stuff it does better), for ultimate comparability usage of the real BASIC dumps are needed.. I'm sure when you use the appropriate version of BASIC needed then it will work in Altirra.. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted January 1, 2017 Share Posted January 1, 2017 I wonder (although I doubt) if there is room in Altirra BASIC for a renumber function? Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted January 1, 2017 Share Posted January 1, 2017 Last time Avery spoke about space free it was a few bytes if I remember rightly... Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted January 1, 2017 Share Posted January 1, 2017 Absolutely so. The code is already incredibly compact, but I learned long ago never to conclude that there's no space left in a ROM. Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted January 1, 2017 Share Posted January 1, 2017 Who am I to argue with coders.... Quote Link to comment Share on other sites More sharing options...
lperry65@gmail.com Posted July 20, 2023 Share Posted July 20, 2023 On 12/29/2016 at 12:34 PM, Mclaneinc said: Well Altirra emulates the Monkey Wrench so you could go back to using that.. www.atarimania.com should have the needed image(s) (if it turned out to be Monkey Wrench II, just remember that one is a right hand slot, Altirra should auto work that out in the little box that comes up and you should see a few options including right hand slot. Or just use attach secondary cart in the file menu.. PS..The same site should also have the manuals, just to help any rusty brains To save you time, they only have Monkey Wrench II http://www.atarimania.com/utility-atari-400-800-xl-xe-monkey-wrench-ii_17608.html Here's Monkey Wrench I just in case.. Monkey_Wrench.zip 3.25 kB · 101 downloads Does this work with the 800XL ? 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.