Search found 2094 matches

by dr beep
Wed May 01, 2024 3:04 pm
Forum: Software
Topic: Block save / load
Replies: 33
Views: 10313

Re: Block save / load

D was set to same highbyte as RET-address and test in ROM sees that as a stop in loading.
After the LDIR I did a INC D and now tape stays in loader.

Next step is actual loading.
by dr beep
Wed May 01, 2024 1:56 am
Forum: Software
Topic: Block save / load
Replies: 33
Views: 10313

Re: Block save / load

I put a startaddress on the stack, therefore the stack comes at 43fe. Then the loader will overwrite first byte with RET
by dr beep
Tue Apr 30, 2024 9:38 pm
Forum: Software
Topic: Block save / load
Replies: 33
Views: 10313

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: 33
Views: 10313

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: 33
Views: 10313

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: 164

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: 221

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: 33
Views: 10313

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: 2182

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: 33
Views: 10313

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 ...