Panther Posted November 20, 2022 Share Posted November 20, 2022 The only OS-B source code I found previously appeared to be scans that had been OCR'd and contained issues that would prevent it from compiling correctly. I've reformatted and cleaned up the code to compile using xasm. I did not correct the typos and spelling mistakes in the comments. I've added three options near the top that allow selecting either NTSC or PAL, and including the standard FP math (fp.bin), fast math (fastmath.bin), or no math, just the 8K OS. OSB.asm 5 Quote Link to comment Share on other sites More sharing options...
Zolaerla Posted November 20, 2022 Share Posted November 20, 2022 7 minutes ago, Panther said: The only OS-B source code I found previously appeared to be scans that had been OCR'd and contained issues that would prevent it from compiling correctly. I've reformatted and cleaned up the code to compile using xasm. I did not correct the typos and spelling mistakes in the comments. I've added three options near the top that allow selecting either NTSC or PAL, and including the standard FP math (fp.bin), fast math (fastmath.bin), or no math, just the 8K OS. OSB.asm 129.58 kB · 1 download This is pretty cool and looks like one heck of a task. Thank you for this! Quote Link to comment Share on other sites More sharing options...
dmsc Posted November 20, 2022 Share Posted November 20, 2022 Hi! 20 minutes ago, Panther said: The only OS-B source code I found previously appeared to be scans that had been OCR'd and contained issues that would prevent it from compiling correctly. I've reformatted and cleaned up the code to compile using xasm. I did not correct the typos and spelling mistakes in the comments. I've added three options near the top that allow selecting either NTSC or PAL, and including the standard FP math (fp.bin), fast math (fastmath.bin), or no math, just the 8K OS. Tomasz Krasuski, @Kr0tki in this forum, did a wonderful collection with the sources for all the known OS ROM versions, with all comments and in CA65 assembler format, producing the correct check summed ROM when assembled. His last version can be download from this post as a 7Zip archive: Have Fun! 1 Quote Link to comment Share on other sites More sharing options...
Panther Posted November 20, 2022 Author Share Posted November 20, 2022 It would certainly have saved me time if I'd found that first! Well, now there's an xasm compatible version. Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted November 20, 2022 Share Posted November 20, 2022 @Panther just had a go at trying to compile using MADS as I don't think there are many differences between MADS and xasm, however I obviously would need the included binary files, but also it throws up an error here LENGTH equ LENGTH-CIOINT try as I might I can find no reference to this in other OSB listings If I comment it out and set for a no math pack, it compiles with no changes. Quote Link to comment Share on other sites More sharing options...
+MrFish Posted November 20, 2022 Share Posted November 20, 2022 6 hours ago, Panther said: It would certainly have saved me time if I'd found that first! I'm surprised you didn't notice them here, as it's your own webspace. Quote Link to comment Share on other sites More sharing options...
Panther Posted November 21, 2022 Author Share Posted November 21, 2022 9 hours ago, MrFish said: I'm surprised you didn't notice them here, as it's your own webspace. That's your webspace, my company just owns the server. On the plus side, I learned a lot about the OS after going all the way through the source. Quote Link to comment Share on other sites More sharing options...
+MrFish Posted November 21, 2022 Share Posted November 21, 2022 14 minutes ago, Panther said: That's your webspace, my company just owns the server. However you want to look at it. I just assumed you were a little more familiar with what's on my website -- since you thought enough of it to gift me the space. 14 minutes ago, Panther said: On the plus side, I learned a lot about the OS after going all the way through the source. I have no doubts about that... 6,000+ lines of code. Quote Link to comment Share on other sites More sharing options...
Panther Posted November 21, 2022 Author Share Posted November 21, 2022 16 hours ago, MrFish said: However you want to look at it. I just assumed you were a little more familiar with what's on my website -- since you thought enough of it to gift me the space. I have no doubts about that... 6,000+ lines of code. I'm not keeping up on things quite like I used to. Only recently did I start doing much with the Atari systems again, mostly with SimCheck and the stuff for Panos' 800 board, which is why I needed to work on the OS-B source code. He's developed a very nice card, it just needs the right software. Quote Link to comment Share on other sites More sharing options...
+MrFish Posted November 21, 2022 Share Posted November 21, 2022 50 minutes ago, Panther said: I'm not keeping up on things quite like I used to. Only recently did I start doing much with the Atari systems again, mostly with SimCheck and the stuff for Panos' 800 board, which is why I needed to work on the OS-B source code. He's developed a very nice card, it just needs the right software. Yeah, I can understand that. I was partially joking in my first comment. You're welcome to ask if you need anything that seems a bit obscure to non-existent. Aside from the stuff on my websites, I also have a ton of things that aren't up yet -- along with a lot of other Atari-related documents and files. Quote Link to comment Share on other sites More sharing options...
Panther Posted November 22, 2022 Author Share Posted November 22, 2022 I do need something...happen to have design plans and software for an EPROM emulator that supports 512K x 8? Quote Link to comment Share on other sites More sharing options...
+MrFish Posted November 22, 2022 Share Posted November 22, 2022 You got me there. I'd say that qualifies as an obscure item amongst Atari computer, specific hardware. Useful item for ROM development, though. Quote Link to comment Share on other sites More sharing options...
Panther Posted December 7, 2022 Author Share Posted December 7, 2022 I would definitely need to be able to load the ROM area from a Windows system via USB. I'm rather surprised to find these aren't already being sold anywhere, at least not that I've found. I suppose this shouldn't be too difficult to make with an ATmega, some SRAM, and a 74LS245. It would save me time and trouble to have one, but I'm fairly certain it would require even more time to design, build, and program one. Quote Link to comment Share on other sites More sharing options...
ClausB Posted December 7, 2022 Share Posted December 7, 2022 A ROM emulator like the AVG cart could be modified to work as OS ROMs perhaps. Quote Link to comment Share on other sites More sharing options...
Panther Posted December 8, 2022 Author Share Posted December 8, 2022 20 hours ago, ClausB said: A ROM emulator like the AVG cart could be modified to work as OS ROMs perhaps. I was looking for something that can be loaded from a Windows system and plugged into an EPROM socket. I found one, but it's coming from Poland (to the U.S.). http://www.momik.pl/memsim.htm Quote Link to comment Share on other sites More sharing options...
Panther Posted December 8, 2022 Author Share Posted December 8, 2022 On 11/20/2022 at 2:48 AM, TGB1718 said: @Panther just had a go at trying to compile using MADS as I don't think there are many differences between MADS and xasm, however I obviously would need the included binary files, but also it throws up an error here LENGTH equ LENGTH-CIOINT try as I might I can find no reference to this in other OSB listings If I comment it out and set for a no math pack, it compiles with no changes. I swear, you snuck this message into the forum somehow, I didn't see this response. The .bin files are just the floating point math packs, I use either the standard one included in OS-B (fp.bin) or any fastmath version you want to use (fastmath.bin). I'm not very familiar with MADS, but I just checked the manual and it looks like the INS instruction should work the same, so I don't know why it throws that error if you've set it to disable using the math packs. Does it still throw an error if you include fp.bin and fastmath.bin in the directory? 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.