Jump to content
IGNORED

Compiling a new Atari OS...


reifsnyderb

Recommended Posts

Version 6.19.  Now with Wozmon! 

 

Thanks to @freetz for porting Wozmon to the Atari!

 

Right now, you need to have a normal E: 40 column text window up.  i.e.  From BASIC

Shift/Control/W enters Wozmon

 

From BASIC, you can enter via X=USR(65513)

 

X only works when entering from BASIC via the above USR command.

 

Instructions are here:  https://forums.atariage.com/topic/352757-atari-wozmon-for-abbuc-software-contest-2023

 

OS619.rom

AtariOS_6_19_source.s

 

For myself, Wozmon has been coming in handy to troubleshoot the 1090 card I am working on.   🙂

 

 

  • Like 7
  • Thanks 2
Link to comment
Share on other sites

Nice! I'm glad WozMon comes in handy here! By the way: The reason it crashed when you entered "RUN" is because you didn't exit WozMon (using "X"), and "R" means "Run at address". Since "UN" is not a valid address, the code probably jumpt who-knows-where and thus crashed the Atari.

What I didn't get is how you entered WozMon using "DOS"? Or did you just enter DOS and then hit Shift/Control/W?

 

And do you really have a 1090? That's so cool - and great if WozMon can come in handy here :)...

Link to comment
Share on other sites

9 minutes ago, freetz said:

Nice! I'm glad WozMon comes in handy here! By the way: The reason it crashed when you entered "RUN" is because you didn't exit WozMon (using "X"), and "R" means "Run at address". Since "UN" is not a valid address, the code probably jumpt who-knows-where and thus crashed the Atari.

What I didn't get is how you entered WozMon using "DOS"? Or did you just enter DOS and then hit Shift/Control/W?

Hello!  The video wasn't made by me.  Looking at the video, it appears he typed DOS and then hit Shift/Control/W with his left hand only.

 

 

9 minutes ago, freetz said:

And do you really have a 1090? That's so cool - and great if WozMon can come in handy here :)...

I have an upgraded version of a reproduction 1090XL board and created a smaller, 1090 compatible, board called a 1091XL.  With those, I've created some new 1090XL boards and have been working on one that has a RAM Disk.  Other boards provide 320k of RAM, provide an 80 column display, interface to a CX-85 numeric keypad, provide firmware (such as an OS upgrade...as long as nothing messes with PORTB), and improve compatibility with a 130XE.  The RAM Disk board is close to working but still has some issues.

 

 

 

Link to comment
Share on other sites

2 hours ago, dabone said:

Any chance of getting a version of this that forces PAL? 

 

I'm looking at the mod here.

 

https://www.myatari.com/nirdary.html

 

I'm only swapping the Antic chip.

 

This looks like a simple change to force the OS into PAL mode.  Also, it appears the ANTIC chip needs swapped.  I'll have to experiment.

 

  • Like 2
Link to comment
Share on other sites

39 minutes ago, dabone said:

Do you have instructions for compiling your current source under windows?

 

 

 

I don't, no.  I use ca65 (https://cc65.github.io/doc/ca65.html), which works both in Windows and LInux.

 

I have a script to compile it as follows:

 

ca65 -t atari -l source.lst source.s
ld65 -C xl.cfg source.o
./fppatcher Fast_Math_v_F_plus.rom a.out nochecksum.rom
./setchecksum-xl nochecksum.rom testos.rom
chmod 664 testos.rom
chown reifsnyderb:reifsnyderb testos.rom
wine patchrom -p testos.rom patchedos.rom
cp testos.rom /home/reifsnyderb/Altirra/ROMs
cp patchedos.rom /home/reifsnyderb/Altirra/ROMs
cp patchedos.rom /home/reifsnyderb/Altirra/extras/sampledevices/fwb_osrom.rom
chown reifsnyderb:reifsnyderb /home/reifsnyderb/Altirra/extras/sampledevices/fwb_osrom.rom

 

 

fppatcher.c is....

 

fppatcher.c

 

xl.cfg is...

 

xl.cfg

 

The fast math ROM is...

 

Fast_Math_v_F_plus.rom

 

patchrom is from the HIAS high speed SIO patch.

 

I think that covers most of it.  You'll have to put it together for your build environment.

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

A few steps missing in the instructions, but I've managed to get it going.

 

You'll need to build fppatcher.c using the command gcc fppatcher.c -o fppatcher

 

You will also need the a8-os-rom-2018-09-23.7z.txt from the following thread.

 

Grab the camac.inc and the setchecksum-xl.c files from the ca65-src directory and then make sure you compile setchecksum-xl with the command gcc setchecksum-xl.c -o setchecksum-xl

 

This is under ubuntu, I didn't find windows versions of fppatcher and setcheckup-xl.

 

I did a quick patch at line 2486-2496 to try.

 

Runs on Altirra, and reports PAL under the Self test.

 

 

 

AtariOS_6_19-pal-patch.s

Edited by dabone
  • Like 2
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...