Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving files with BEDIT on the Atari doesn't work #91

Open
davidgiven opened this issue Dec 20, 2023 · 3 comments
Open

Saving files with BEDIT on the Atari doesn't work #91

davidgiven opened this issue Dec 20, 2023 · 3 comments

Comments

@davidgiven
Copy link
Owner

It seems the Atari always returns carry set, indicating that there's a disk error. Most other programs don't check for this, but BEDIT does. This makes the mametest script fail.

@ivop
Copy link
Contributor

ivop commented Dec 20, 2023

I cannot reproduce this. What steps do you take?
I did:

bedit
10 lda #0x12
save test.asm
quit
dir test.asm

No errors.

Tested with atari800 and Altirra 4.10 with stock Atari XL OS ROM.

@davidgiven
Copy link
Owner Author

I'm testing with MAME as part of the new emulator tests. Having done some poking I see that it fails differently on a800 than it does on a800xlp. Try this:

mame a800xlp -flop1 atari800.atr  -console -rompath roms/ -autoboot_script src/arch/atari800/mame-test.lua
mame a800 -flop1 atari800.atr  -console -rompath roms/ -autoboot_script src/arch/atari800/mame-test.lua

(Running sh scripts/get-roms.sh will download all the required ROMs)

@ivop
Copy link
Contributor

ivop commented Dec 20, 2023

Mame is notoriously bad for emulating the Atari 8-bit. Serial I/O is broken. Keyboard handling is broken. Both is done by Pokey and they have a half-baked Pokey emulation. Last time I checked (years ago) their pokey implementation was audio only, and even that was incomplete. Looks like not much has changed since. They intercept OS SIO calls but not mimic the OS correctly, like setting success flags. Similar problems with keyboard I/O. Try pressing backspace and see what I mean.

Retroarch has much better Atari 8-bit support, based on the atari800 emulator. It also has a VICE core, but I see Oric, BBC and Apple 2 are missing :/ There are several retroarch Mame cores though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants