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

EIM #,(nn) has 8 bit address #2

Open
harbaum opened this issue Jul 16, 2019 · 0 comments
Open

EIM #,(nn) has 8 bit address #2

harbaum opened this issue Jul 16, 2019 · 0 comments

Comments

@harbaum
Copy link

harbaum commented Jul 16, 2019

Instruction EIM#,(nn) opcode $75 has a single byte address operand and not a 16 bit one. This makes the Atari ST IKBD rom fail. Since it reads one byte too much in:

fec9	7e f1 b7	jmp f1b7
fecc	75 80 89	eim 8089
fecf	3b		rti

which causes it to skip the rti.

The EIM instruction can be fixed by using the same design as AIM and OIM which are correct.

I have fixed this in https://github.com/harbaum/ikbd

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

1 participant