reifsnyderb Posted April 20, 2023 Author Share Posted April 20, 2023 Here's the source code for OS 6... AtariOS_6_source.zip 3 Quote Link to comment Share on other sites More sharing options...
Kr0tki Posted April 20, 2023 Share Posted April 20, 2023 On 4/7/2023 at 10:15 PM, reifsnyderb said: Atari's XL/XE OS R. 3 has support for testing all of the XE memory but has the exact bug you are talking about. Atari's source code even has a comment, from an Atari developer, explaining the bug and how to fix it. But it was never fixed. It doesn't make sense, really. But Atari knew about it but never bothered to fix it. Even Atari's XL/XE OS R. 4 still has this bug and still has the comment about how to fix it. You're misunderstanding the issue. Only the sources of OS A, OS B, XL OS rev. 2 and CC 01r04 come from Atari. The sources for all the other revisions were my recreations based on disassemblies. The comments that you have metioned were in fact written by myself. Atari knew nothing about the bug. 6 Quote Link to comment Share on other sites More sharing options...
reifsnyderb Posted April 20, 2023 Author Share Posted April 20, 2023 3 minutes ago, Kr0tki said: You're misunderstanding the issue. Only the sources of OS A, OS B, XL OS rev. 2 and CC 01r04 come from Atari. The sources for all the other revisions were my recreations based on disassemblies. The comments that you have metioned were in fact written by myself. Atari knew nothing about the bug. I guess that's what I get for assuming the comments were Atari's. Thanks for clearing this up. You did an amazing job of the disassembling and commenting on the code! 2 1 Quote Link to comment Share on other sites More sharing options...
MVladimir Posted April 20, 2023 Share Posted April 20, 2023 (edited) On 4/19/2023 at 6:54 PM, reifsnyderb said: I am going to call this release OS 6.00. I wanted to get this out because I tend to alternate projects and I've spent a lot of time on it. ........ What is not included: ........ 2. I did not reverse the Option key function as doing so may confuse people. Thanks for this release. Can you tell me where and what to change the value for the "reverse" OPTION key? (Hope the values is the same as early, need an address in ROM code where to change) Then I renew checksum using Hias utility. I want to have this patch. You can reply in PM if you don't want distribute this trick. Edited April 20, 2023 by MVladimir Quote Link to comment Share on other sites More sharing options...
reifsnyderb Posted April 20, 2023 Author Share Posted April 20, 2023 1 hour ago, MVladimir said: Thanks for this release. Can you tell me where and what to change the value for the "reverse" OPTION key? (Hope the values is the same as early, need an address in ROM code where to change) Then I renew checksum using Hias utility. I want to have this patch. You can reply in PM if you don't want distribute this trick. Admittedly, I haven't looked into which byte, or bytes, would have to be changed to reverse the Option key. If there's enough support for it, I'll have the OS reverse the Option key normally. Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 20, 2023 Share Posted April 20, 2023 Very, very nice work ! 1 Quote Link to comment Share on other sites More sharing options...
MVladimir Posted April 20, 2023 Share Posted April 20, 2023 In current OS (R3 or R4 - original) $049F can be changed from F0 to D0 to have "reversed" OPTION key (not pressed) to boot in DOS from disk (or SelfTest w/o DOS) 2 Quote Link to comment Share on other sites More sharing options...
reifsnyderb Posted April 20, 2023 Author Share Posted April 20, 2023 8 minutes ago, MVladimir said: In current OS (R3 or R4 - original) $049F can be changed from F0 to D0 to have "reversed" OPTION key (not pressed) to boot in DOS from disk (or SelfTest w/o DOS) If $049F is $F0, try with a $D0 and see if it works. That region of code shouldn't have changed. However, if something else was changed, that region could have been shifted a little. Quote Link to comment Share on other sites More sharing options...
MVladimir Posted April 20, 2023 Share Posted April 20, 2023 4 hours ago, reifsnyderb said: If $049F is $F0, try with a $D0 and see if it works. That region of code shouldn't have changed. However, if something else was changed, that region could have been shifted a little. It seems that in OS 6 the "reverse" OPTION key is in $04B7 - $F0 (hopefully it can be changed to $D0), which roughly corresponds to the similar code in this area in OS 3 and OS 4. Slightly shifted indeed. Thanks for the tip. I'll check tomorrow. 1 Quote Link to comment Share on other sites More sharing options...
manterola Posted April 21, 2023 Share Posted April 21, 2023 If I remember correctly, you can also just subtract 0x20 to checksum at the end, and then the ROM file should be valid and ready to use with the reverse Option for Basic. 1 Quote Link to comment Share on other sites More sharing options...
MVladimir Posted April 21, 2023 Share Posted April 21, 2023 17 hours ago, MVladimir said: 21 hours ago, reifsnyderb said: If $049F is $F0, try with a $D0 and see if it works. That region of code shouldn't have changed. However, if something else was changed, that region could have been shifted a little. It seems that in OS 6 the "reverse" OPTION key is in $04B7 - $F0 (hopefully it can be changed to $D0), which roughly corresponds to the similar code in this area in OS 3 and OS 4. Slightly shifted indeed. Thanks for the tip. I'll check tomorrow. I tested this patch, it works!!! The original OS 6 has CRC32: 527A9C88. OS 6 with patch for "reverse" OPTION key has CRC32: 4F50E675 Only the first checksum is changed since we are changing $04B7 in the first part of ROM ($F0 -> $D0) Checksums updated with Hias patchrom utility. 6 Quote Link to comment Share on other sites More sharing options...
w1k Posted April 25, 2023 Share Posted April 25, 2023 i made another video 5 Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 25, 2023 Share Posted April 25, 2023 (edited) Hello ! I know this is a 'me' problem & not a 'you' problem but with my DOS 2.5 I have a ROM to RAM O/S handler (autorun.sys), when in use your OS shows all garbled ( Altirra emulator), whereas w/o it no problems. Edited April 25, 2023 by Ricky Spanish added info Quote Link to comment Share on other sites More sharing options...
reifsnyderb Posted April 25, 2023 Author Share Posted April 25, 2023 43 minutes ago, Ricky Spanish said: Hello ! I know this is a 'me' problem & not a 'you' problem but with my DOS 2.5 I have a ROM to RAM O/S handler (autorun.sys), when in use your OS shows all garbled ( Altirra emulator), whereas w/o it no problems. Any chance you can post an ATR of that disk? Thanks! Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 25, 2023 Share Posted April 25, 2023 3 minutes ago, reifsnyderb said: Any chance you can post an ATR of that disk? Thanks! Sure. Here ya go. Also contains a modified ramdisk for 256K Rambo. Atari DOS 2.5.ATR Quote Link to comment Share on other sites More sharing options...
reifsnyderb Posted April 25, 2023 Author Share Posted April 25, 2023 20 minutes ago, Ricky Spanish said: Sure. Here ya go. Also contains a modified ramdisk for 256K Rambo. Atari DOS 2.5.ATR 90.02 kB · 2 downloads Do you have any instructions, links, etc., about what this is supposed to do? Thanks! Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 25, 2023 Share Posted April 25, 2023 (edited) @Ricky Spanish the routine of rom to ram leaves the block at 52224-53247 ($CC00-$CFFF) alone, so any alterations to that area are not moved to ram. Have you tried no OS to RAM handler and just the Ramdisk? Have you tried just the OS to RAM handler without the Ramdisk? last consideration, did you start with a fresh copy so it doesn't try to load part of the old OS mixed with the new one? That means delete autorun.sys so it can create a new one. Edited April 25, 2023 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 25, 2023 Share Posted April 25, 2023 6 minutes ago, _The Doctor__ said: the routine of rom to ram leaves the block at 52224-53247 ($CC00-$CFFF) alone, so any alterations to that area not moved to ram. Have you tried no OS to RAM handler and just the Ramdisk? Have you tried just the OS to RAM handler without the Ramdisk? The rom to ram handler is the problem. Everything else works just fine. 8 minutes ago, reifsnyderb said: Do you have any instructions, links, etc., about what this is supposed to do? Thanks! When you boot it w/ Basic it will say "press reset to enable". Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 25, 2023 Share Posted April 25, 2023 I ask again, did you delete autorun.sys and let it create a fresh one so you don't have a mixed up OS? Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 25, 2023 Share Posted April 25, 2023 https://www.atariarchives.org/mapping/appendix19.php is where this appears to originate from and it may give some idea as to what's going on, and some instructions Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 25, 2023 Share Posted April 25, 2023 (edited) 2 minutes ago, _The Doctor__ said: I ask again, did you delete autorun.sys and let it create a fresh one so you don't have a mixed up OS? No, I used a fresh unmodified copy of DOS 2.5 to confirm. Edited April 25, 2023 by Ricky Spanish Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 25, 2023 Share Posted April 25, 2023 (edited) @Ricky Spanish I just used standard rev 2 xl os and use rom to ram, then I typed BYE and it crashed Altirra so it's not just the NEW OS at issue. There is a lack of consideration in regard to the OS being moved and then possibly eating itself Edited April 25, 2023 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 25, 2023 Share Posted April 25, 2023 34 minutes ago, _The Doctor__ said: I just used standard rev 2 xl os and use rom to ram, then I typed BYE and it crashed Altirra Mine works no problem with the emulated 1200XL OS. Anyways, OS 6.0 600/800XL emulated, unaltered copy of DOS 2.5 works just fine. Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 25, 2023 Share Posted April 25, 2023 I didn't see ROM to RAM run... Quote Link to comment Share on other sites More sharing options...
Ricky Spanish Posted April 25, 2023 Share Posted April 25, 2023 1 minute ago, _The Doctor__ said: I didn't see ROM to RAM run... Gimmie a few minutes... YT is ducking slow today. 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.