Search found 266 matches

by marste
Tue May 07, 2024 10:27 pm
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

Re: Block save / load

PS: for the conversion of an assembled file to an audio file the program here can be used: https://sinclairzxworld.com/viewtopic.php?f=6&t=4023 Just use the "-80" parameters (the output should not contain the filename) and do not pass a ".p" file (rename in case to something else) since the intellig...
by marste
Fri May 03, 2024 5:59 am
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

Re: Block save / load

dr beep wrote: Sun Apr 28, 2024 10:41 am I had hoped to have a small loader that would allow loading more data in a 1K machine. Now bound on around 949 bytes.
Hope your dreams might have come true... Let us dream your new reaches if so!! 8-)
by marste
Thu May 02, 2024 8:12 pm
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

Re: Block save / load

Then the new code looks like this (corrected also an error in preparing hl): MEMORY_END equ 0x4400 ; 1k SET_FAST equ 0x2E7 ; ROM routines IN_BYTE equ 0x34C ; / GET_BITS equ 0x385 ; / START: call SET_FAST ; load operations to be managed in FAST mode ld hl, 0x4400 ; cleanup and put stack at the very e...
by marste
Thu May 02, 2024 7:56 pm
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

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 can be to put in the saved code, in the exact memory position of the target "call IN_BYTE", a call with the low address of the routine to be started, and then, when the load loop will over...
by marste
Thu May 02, 2024 6:05 pm
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

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...
by marste
Thu May 02, 2024 12:26 am
Forum: Sinclair Misc
Topic: It seems we are very popular!
Replies: 3
Views: 856

Re: It seems we are very popular!

Pay attention to hacking attacks...
And prepare backups against ramsonware encryption ;)
by marste
Wed May 01, 2024 10:58 pm
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

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 :))
by marste
Wed May 01, 2024 10:53 pm
Forum: Development
Topic: PACMAN 1K
Replies: 29
Views: 8631

Re: PACMAN 1K

I missed this!...
Pacman was missing in the 1k titles, and this release is ... WONDERFUL!!!
Compliment as usual Johan!!!
by marste
Tue Apr 30, 2024 11:01 pm
Forum: Software
Topic: Block save / load
Replies: 44
Views: 12660

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...
by marste
Tue Apr 30, 2024 4:32 pm
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 2046

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