The ultimate 1K coding book

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
dr beep
Posts: 2080
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

The ultimate 1K coding book

Post by dr beep »

I am working on the ultimate 1K coding book for the ZX81..

I got a remark that sources and coding were not in the 81K hires book.
Also questions about how to code 1K hires games.

The book will hold all optimizations in 1K, coding 1K hires explained more, a type in game in assembler.

I try to simplify the 1K hires coding into dummyproof text. By doing this I am finding out how simple the development for me seemed to be
over the years but what an impact the games must have made to you when you first noticed them.

Is there anything you would like to see back in the book?

I also noticed the possiblity to make a physical and e-book version so I am working on both.

Johan "Dr Beep" Koelman
salvacam
Posts: 52
Joined: Wed Jul 21, 2021 4:50 pm

Re: The ultimate 1K coding book

Post by salvacam »

dr beep wrote: Mon Jun 26, 2023 6:14 pm Is there anything you would like to see back in the book?
How to develop on a current pc.
How to debug programs.
And of course how to use high resolution graphics
My games

ZX81 hoy Blog (in Spanish) of new games and applications for the ZX81
User avatar
Paul
Posts: 1517
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: The ultimate 1K coding book

Post by Paul »

Although your main aspect is of course coding in 1K,
It would be interesting to see what this might look in 16K.
Especially if something would be simpler in 16k (+example) and how you did in 1K (of course also with example)
This might help us to understand writing both 1K and 16K Programs better.
Also low-res and high-res as well.

Thanks a lot.
Looking forward to it.
In theory, there is no difference between theory and practice. But, in practice, there is.
dr beep
Posts: 2080
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: The ultimate 1K coding book

Post by dr beep »

salvacam wrote: Fri Jun 30, 2023 11:10 am
dr beep wrote: Mon Jun 26, 2023 6:14 pm Is there anything you would like to see back in the book?
How to develop on a current pc.
How to debug programs.
And of course how to use high resolution graphics
First question is a good one since you need to work on a pc to get most out of zx81. Will add some pages

Debug is a bit harder, it woukd be on an emulator.

Hires is part of the book
dr beep
Posts: 2080
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: The ultimate 1K coding book

Post by dr beep »

BTW

the type in program will be BATTLESHIP against the computer in 1K.
salvacam
Posts: 52
Joined: Wed Jul 21, 2021 4:50 pm

Re: The ultimate 1K coding book

Post by salvacam »

dr beep wrote: Mon Jun 26, 2023 6:14 pm
Debug is a bit harder, it woukd be on an emulator.
Sébastien Andrivet has recently published an extension for Visual Studio Code, for debugging in Z80 assembly language
https://marketplace.visualstudio.com/it ... 1-debugger
My games

ZX81 hoy Blog (in Spanish) of new games and applications for the ZX81
dr beep
Posts: 2080
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: The ultimate 1K coding book

Post by dr beep »

salvacam wrote: Fri Jun 30, 2023 11:10 am
dr beep wrote: Mon Jun 26, 2023 6:14 pm Is there anything you would like to see back in the book?
How to develop on a current pc.
How to debug programs.
And of course how to use high resolution graphics
I altered my compiler routine for the book so it will only show errors directly when they appear.
No need to find them yourselves.
Post Reply