Page 1 of 1

Altirra Atari Emulator

Posted: Sun Feb 23, 2020 3:00 pm
by matibee
Hi all,
I'm trying to use this alternative emulator but I'm having trouble loading the cartridge rom ("\BldA52\Program.rom"). Altirra is asking me to choose a 'cartridge mapper'. It limits the options to just 5 possibilities at first (none have those have worked) but there's dozens if you select the "Show all cartridge types...." check box. I've been through a lot of them with no luck so far.

My command prompt so far looks like this;
Altirra64 /baseline /pal /hardware:800xl /memsize:64k /cart "S:\BldA52\Program.rom" /debug

(adding the cartridge mapping as a command line option would be easy if I knew which one ;)

So, why Altirra? I saw it recommended on an Atari forum (sadly in a thread where I was googling why Atari800Win crashes so much) and it has some great looking debug features; memory watch windows, toggle-able break-points (even 'break on change' in the memory watch windows I think). I'm also hoping 'Listing.txt' will serve as a source file for the built-in debugger.

Q1. Can anyone help get Altirra to run 'Program.rom'?
Q2. Could we get Altirra to play nice if we did away with a cartridge style rom? (It's not important right now but I would like to compile as a disk-loadable binary one day. But by the time that day comes I'll remember how to autoboot an executable and what the executable header should look like :mrgreen:

I'm going to keep trying. If I find anything I'll report back.

Cheers, and keep ASM'ing :-)

Re: Altirra Atari Emulator

Posted: Mon Feb 24, 2020 9:59 am
by akuyou
Actually, I was able to compile "A52_Bitmap.asm" just fine using your command line... when it asked me a cartridge type I sekected option 1 (8k)
Of course the build mode was "VASM A80"
t.jpg (32 KiB) Viewed 2006 times
If you're having problems, it could be some other compatibility flaw in my code - like colors making the screen whole black or something

This command line makes it not ask for the cart type, and still seems to work:

Altirra64 /baseline /pal /hardware:800xl /memsize:64k /cart "\BldA52\Program.rom" /debug /cartmapper 1

Re: Altirra Atari Emulator

Posted: Mon Feb 24, 2020 10:26 am
by akuyou
OK, I got it... there's a bug in my code - soz! - I should have changed the 'program start' for the atari 800 - it seemed to work ok on the emulator I'd been using, but it's a no go on this one.

add "ProgramStart:" to the start of the code in 'V1_Header.asm" (before SEI)

Change V1_Footer.asm... the Rom header should be:

Code: Select all

        org $bffd
        db $FF         ;Don't display Atari logo
        dw ProgramStart   
Files attached!

Re: Altirra Atari Emulator

Posted: Tue Feb 25, 2020 1:32 pm
by matibee
That's great Keith, thank you for looking into this. I can indeed use the listing.txt to step through the code so this is going to be a great dev platform.

Re: Altirra Atari Emulator

Posted: Fri Feb 28, 2020 4:30 pm
by matibee
Thanks once again for fixing this. I'm having a great time in Altirra and it's debug features are an absolute joy to work with.

I hope to have some code to show off soon :mrgreen:

Re: Altirra Atari Emulator

Posted: Sun Mar 01, 2020 8:51 am
by akuyou
Don't forget about the competition - if you show off your work on 'show and tell' within the next two weeks, you could win a small prize (Mini arcade cabinet toy) ... ?f=8&t=282