Page 1 of 1

SA-5510 Disassembly

Posted: Thu Sep 23, 2021 9:46 pm
by mz-80a
Is anybody aware of a disassembly listing for SA-5510 ?

Re: SA-5510 Disassembly

Posted: Fri Sep 24, 2021 4:51 pm
by hlide

Re: SA-5510 Disassembly

Posted: Sat Sep 25, 2021 10:08 pm
by mz-80a
OK, thanks. Although that doesn't show the memory addresses for the instructions. Pretty good though.

Re: SA-5510 Disassembly

Posted: Mon Sep 27, 2021 4:15 pm
by mz-80a
The reason I ask is because I have some software which asks you to load SA-5510 first and then load the software. This software has its own Loader program which I've disassembled to the following:

Code: Select all

LD A,67H
LD (15B5H),A
LD (15F1H),A
LD (15FBH),A
LD (16CEH),A
LD (1621H),A
LD HL,B028H
LD DE,10F0H
LD BC,0018H
LDIR
LD HL,1250H
LD (2F3CH),HL
LD SP,D000H
JP 2F0DH
There was a data block as well (which I haven't included here) which is copied into IBUFE by this code. So I was just trying to work out what on Earth it was doing as it clearly is making some changes to BASIC.

Re: SA-5510 Disassembly

Posted: Mon Sep 27, 2021 10:14 pm
by hlide
This software is a bootloader which loads BASIC interpreter then the BASIC program?

Re: SA-5510 Disassembly

Posted: Mon Sep 27, 2021 10:16 pm
by hlide
mz-80a wrote: Sat Sep 25, 2021 10:08 pm OK, thanks. Although that doesn't show the memory addresses for the instructions. Pretty good though.
Well, one possibility is to assemble it while asking for a listing (addresses and bytes will be added). But I don't know the assembler the author uses.

Re: SA-5510 Disassembly

Posted: Mon Sep 27, 2021 10:35 pm
by hlide
So I removed the SD part to keep original code to issue a listing:
SA-5510.zip
(56.06 KiB) Downloaded 269 times

Re: SA-5510 Disassembly

Posted: Mon Sep 27, 2021 10:41 pm
by hlide
Quite easy to understand as it replaces the first letter of some BASIC commands with the white smiley to "disable" them:
- LIST
- SAVE
- POKE
- PEEK
- USR

Re: SA-5510 Disassembly

Posted: Tue Sep 28, 2021 5:44 pm
by mz-80a
No, as I say, the instructions are to load BASIC SA-5510 first, then type in MON to get back to the Monitor and then you must load this 'loader' program. Just trying to transfer the software into MZF format but it's going to take a bit of work as there is no stored header on the tape (the loader program creates the header itself in the IBUFE locations in memory)
hlide wrote: Mon Sep 27, 2021 10:14 pm This software is a bootloader which loads BASIC interpreter then the BASIC program?

Re: SA-5510 Disassembly

Posted: Tue Sep 28, 2021 5:45 pm
by mz-80a
Thanks, I'll check this out
hlide wrote: Mon Sep 27, 2021 10:35 pm So I removed the SD part to keep original code to issue a listing:
SA-5510.zip