Search found 264 matches
- Thu May 02, 2024 8:12 pm
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
Re: Block save / load
Then the new code looks like this (corrected also an error of for preparing hl): MEMORY_END equ 0x4400 ; 1k SET_FAST equ 0x2E7 ; ROM routines IN_BYTE equ 0x34C ; / GET_BIT equ 0x385 ; / START: call SET_FAST ; load operations to be managed in FAST mode ld hl, 0x4400 ; cleanup and put stack at the ver...
- Thu May 02, 2024 7:56 pm
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
Re: Block save / load
DEC DE does not set any flag. my z80 asm is rusted :mrgreen: then 2 bytes more needed to set flags BUT a trick used can be to put in the saved code in the exact position of the "call IN_BYTE" a call with the low address of the proper routine and then the call will be to 0x43 + this low byte... prob...
- Thu May 02, 2024 6:05 pm
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
Re: Block save / load
Mixing a bit of ROM in the initial part it should work. Moreover I checked and carry is always set on IN-BYTE return, so "or a" could be removed, but I noticed that IN_BYTE didn't increment hl, so I changed de to be a counter. With a program able to start with 4C high address another byte of stack c...
- Thu May 02, 2024 12:26 am
- Forum: Sinclair Misc
- Topic: It seems we are very popular!
- Replies: 3
- Views: 229
Re: It seems we are very popular!
Pay attention to hacking attacks...
And prepare backups against ramsonware encryption
And prepare backups against ramsonware encryption
- Wed May 01, 2024 10:58 pm
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
Re: Block save / load
If it is a problem of timeout waiting for a signal,
a trick maybe to wait for the signal in the "pre loading" setup part, and immediately jump to the loop as soon as the signal is detected!
(code size there do not count )
a trick maybe to wait for the signal in the "pre loading" setup part, and immediately jump to the loop as soon as the signal is detected!
(code size there do not count )
- Wed May 01, 2024 10:53 pm
- Forum: Development
- Topic: PACMAN 1K
- Replies: 29
- Views: 7424
Re: PACMAN 1K
I missed this!...
Pacman was missing in the 1k titles, and this release is ... WONDERFUL!!!
Compliment as usual Johan!!!
Pacman was missing in the 1k titles, and this release is ... WONDERFUL!!!
Compliment as usual Johan!!!
- Tue Apr 30, 2024 11:01 pm
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
Re: Block save / load
With the deletions you've done I do not understand how you will stop loading (before in loading loop I've put the checking of hl against de) and how you start the loaded program (before I've put a jp after the load loop completed) PS: the stack should be set at 4400 (call and push will start decreas...
- Tue Apr 30, 2024 4:32 pm
- Forum: Development
- Topic: 384 rows super HRG
- Replies: 14
- Views: 415
Re: 384 rows super HRG
The idea was to show two different high resolution frames. The second time the CRT beam should pass slightly shifted, between the previously displayed lines. This could produce a 192x2 picture, slightly flickering with overlapped pixels no clue on how to slightly shift the lines but the idea seems ...
- Tue Apr 30, 2024 12:50 pm
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
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 j...
- Tue Apr 30, 2024 3:13 am
- Forum: Software
- Topic: Block save / load
- Replies: 42
- Views: 10522
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 b...