Search found 2092 matches

by dr beep
Tue Apr 30, 2024 9:38 pm
Forum: Software
Topic: Block save / load
Replies: 31
Views: 10200

Re: Block save / load

I was thinking of this loader: START: call SET_FAST ; load operations to be managed in FAST mode ld sp, #4400-2 ; / ld hl, 0x4000 ; start loading data at 4000h ld hl, LOAD_PROG_BEG ; relocate loader to end of memory ld de, TARGET_LOAD ; / push de ; / ld bc, LOAD_PROG_END - LOAD_PROG_BEG ; / ldir ; ...
by dr beep
Tue Apr 30, 2024 9:12 pm
Forum: Software
Topic: Block save / load
Replies: 31
Views: 10200

Re: Block save / load

So I have the loader starting, but how do I built my datablock to load?

I am using EightyOne to test the program.

Who can help with a working exemple?

The block to load is then 1010 bytes when my idea is working where at the end the stack will get a few more bytes.
by dr beep
Tue Apr 30, 2024 8:19 pm
Forum: Software
Topic: Block save / load
Replies: 31
Views: 10200

Re: Block save / load

I was thinking of this loader: START: call SET_FAST ; load operations to be managed in FAST mode ld sp, #4400-2 ; / ld hl, 0x4000 ; start loading data at 4000h ld hl, LOAD_PROG_BEG ; relocate loader to end of memory ld de, TARGET_LOAD ; / push de ; / ld bc, LOAD_PROG_END - LOAD_PROG_BEG ; / ldir ; _...
by dr beep
Tue Apr 30, 2024 7:47 pm
Forum: Sinclair Misc
Topic: It seems we are very popular!
Replies: 2
Views: 122

Re: It seems we are very popular!

The forum was slow this weekend.
by dr beep
Tue Apr 30, 2024 7:22 pm
Forum: Development
Topic: WORLDCAFE in development
Replies: 3
Views: 215

Re: WORLDCAFE in development

The layout altered again and Russia is added again.

Game is ready but now only for the tributers.
by dr beep
Tue Apr 30, 2024 6:39 pm
Forum: Software
Topic: Block save / load
Replies: 31
Views: 10200

Re: Block save / load

The loader routine is just 17 bytes ("_BEG" to "_END"), and it is relocated to the end of the memory at the program start. Everything else is rewritten as all the rest of the memory during the load process. And become even 16 bytes because the loader stop when it starts overwriting itself (for now ...
by dr beep
Tue Apr 30, 2024 6:07 pm
Forum: GAMES
Topic: Nationalities needed (claim your name in a game)
Replies: 24
Views: 1843

Re: Nationalities needed (claim your name in a game)

ALL WHO CLAIMED A COUNTRY ON SINCLAIRZXWORLD HAVE GOTTEN A PM WITH A LINK


The game will be released for all others on saturday 4th Mai.
by dr beep
Tue Apr 30, 2024 7:40 am
Forum: Software
Topic: Block save / load
Replies: 31
Views: 10200

Re: Block save / load

I have at the moment no means to test it (my dev environment is broken), but the following program should be able to fully load 1008 bytes into memory (from 0x4000 to 0x4400 - 16 bytes)... The block to be load should be saved with standard routines and should be equal or bigger than 1008 bytes (if ...
by dr beep
Sun Apr 28, 2024 8:31 pm
Forum: Development
Topic: WORLDCAFE in development
Replies: 3
Views: 215

Re: WORLDCAFE in development

I took off 1 table and now memory will be enough to code the game.

At this moment I only need to add the AI of the computer
by dr beep
Sun Apr 28, 2024 8:29 pm
Forum: Development
Topic: Gamecoding in machinecode on a ZX81.
Replies: 58
Views: 53962

Re: Gamecoding in machinecode on a ZX81.

The comments say that I can use #4000 to #400B for variables, but the org starts at #4009. Would I start it at #4000 if I wanted to make use of that RAM? Would I leave the rest of this snippet alone for my own game? I assume I could at least use the two bytes with the mem label after initialization...