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
I'm going to keep trying. If I find anything I'll report back.
Cheers, and keep ASM'ing
Altirra Atari Emulator
Altirra Atari Emulator
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3
Re: Altirra Atari Emulator
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"
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
Of course the build mode was "VASM A80"
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
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809
Re: Altirra Atari Emulator
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:
Files attached!
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
- Attachments
-
- SrcA52.7z
- (1.15 KiB) Downloaded 1784 times
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809
Re: Altirra Atari Emulator
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.
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3
Re: Altirra Atari Emulator
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
I hope to have some code to show off soon
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3
Re: Altirra Atari Emulator
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)
https://www.chibiakumas.com/forum/viewt ... ?f=8&t=282
https://www.chibiakumas.com/forum/viewt ... ?f=8&t=282
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809
Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809