Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Avatar de Usuario
Mike
Mensajes: 109
Registrado: 20 Jun 2020 00:13
Agradecido : 195 veces
Agradecimiento recibido: 102 veces
Contactar:

Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor Mike » 11 Oct 2021 15:53

Hola amigos,

I have been busy disassembling the Lynx 48K ROMs and supplementing it with symbol information from Lynx User Magazine Issue 1 (Camputers, June 1983, pages 16-18) and Nilug News (Issue 6) by R.B.Poate.

I have attached the result. It is a good starting point for anyone trying to understand how the Lynx ROMs work, especially for anyone learning Z80 (like me!).

Lynx_48k_Rom.zip
(61.19 KiB) Descargado 1 vez

It can be compiled (assembled) to produce actual ROM binaries, and I have verified that they are identical the original binaries. -thumbup

If anyone has the real Camputers assembly code, please post it for everyone. This is just my version for information purposes.

If anyone wants to contribute to the document, it is on github:

https://github.com/w5Mike/Lynx-Rom-Analysis

Feel free to distribute. May contain inaccuracies. Use at own risk.

Cheers,

Mike. -grin

rcmolina
Mensajes: 67
Registrado: 12 Oct 2019 06:05
Agradecido : 5 veces
Agradecimiento recibido: 30 veces

Re: Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor rcmolina » 11 Oct 2021 18:52

Many thanks Mike, great work!

jltursan
Mensajes: 3906
Registrado: 20 Sep 2011 13:59
Ubicación: Madrid
Agradecido : 450 veces
Agradecimiento recibido: 1171 veces
Contactar:

Re: Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor jltursan » 11 Oct 2021 21:11

Indeed, there's a lot of work here!. Time to optimize some display routines? ;-)

Btw, seems that DATA_DISPLAY_BUFFER hides a machine code routine and it's not simply data...

Avatar de Usuario
Mike
Mensajes: 109
Registrado: 20 Jun 2020 00:13
Agradecido : 195 veces
Agradecimiento recibido: 102 veces
Contactar:

Re: Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor Mike » 11 Oct 2021 22:06

Ah, thank you JLT for the tip. There are also some sections which are obviously data too. I have a lot of the info in a clunky database, and also some code to format it and make the listing. So I will try to incorporate anybody's findings and create a new version in GitHub. So do let me know if you find things like that.

I've tried to use labels that already existed in the documentation, mostly, and basic keywords etc., rather than inventing new ones. That is why there are plenty of sections without labels at all, and jumps to unlabelled sections. But we may be at the point when we can start making new labels, for loops, subroutines, etc. - if it helps to clarify things.

There's plenty of work that can be done, including symbols and comments.

Any suggestions welcome.

Avatar de Usuario
Mike
Mensajes: 109
Registrado: 20 Jun 2020 00:13
Agradecido : 195 veces
Agradecimiento recibido: 102 veces
Contactar:

Re: Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor Mike » 12 Oct 2021 00:30

jltursan escribió:Btw, seems that DATA_DISPLAY_BUFFER hides a machine code routine and it's not simply data...

Fixed! It was all code (not data). Thanks. -drinks

jltursan
Mensajes: 3906
Registrado: 20 Sep 2011 13:59
Ubicación: Madrid
Agradecido : 450 veces
Agradecimiento recibido: 1171 veces
Contactar:

Re: Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor jltursan » 12 Oct 2021 10:03

I'll let you know if I find anything more...;-)

Avatar de Usuario
Mike
Mensajes: 109
Registrado: 20 Jun 2020 00:13
Agradecido : 195 veces
Agradecimiento recibido: 102 veces
Contactar:

Re: Lynx 48k ROM disassembly (with symbols, labels, comments, etc)

Mensajepor Mike » 13 Oct 2021 01:19

I have uploaded a new version which includes improved data tables. See the attachment above, or Github.

From now on, I'll probably only update Github with any improvements, and so please check there for the latest version.

Thanks.


Volver a “Camputers Lynx”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado