Search found 254 matches
- Tue May 14, 2024 9:53 am
- Forum: Programming
- Topic: DEF FN small self test
- Replies: 7
- Views: 225
Re: DEF FN small self test
ready for stripdown and optimisation? had to wipe the old numbers and made a funny inc de thing, but ldir cost 2+3x3+2=13 bytes at least the BC register is now correct loaded, i missed that too hopefully this is now the correct off set for d_arg, so i will link it in z88dk. https://z88dk.org/forum/v...
- Mon May 13, 2024 4:52 pm
- Forum: Emulators
- Topic: Issues with emulators for Linux
- Replies: 24
- Views: 427
- Sun May 12, 2024 4:20 pm
- Forum: Programming
- Topic: DEF FN small self test
- Replies: 7
- Views: 225
Re: DEF FN small self test
I had in mind that the string part for the internal variable was hidden INSIDE the 1+4 mantise but it aint its a real '$' inside, which make the solution much simpler: ; DEF FN small self test ; nDEFFNtst_033 ; pasmo -d --tap --name nDEFFNtst nDEFFNtst_033.asm nDEFFNtst_033.tap nDEFFNtst_033.symbol ...
- Sun May 12, 2024 2:56 pm
- Forum: Programming
- Topic: DEF FN small self test
- Replies: 7
- Views: 225
Re: DEF FN small self test
at the moment this is the result ; 10 DEF FN a(a,b,c,d,e,f,g,h,i,j)=USR t ; 20 DEF FN a$(a,b,c,d,e,f,g,h,i,j)=STR$ USR t ; 25 DEF FN b$(a$,b,c,d$,e,f,g,h$,i,j)=STR$ USR t ; 30 CLEAR VAL "25499": LET t=VAL "25500": LOAD ""CODE t ; 40 PRINT FN a(1,2,3,4,5,6,7,8,9,0)' ; 50...
- Sun May 12, 2024 12:26 pm
- Forum: Programming
- Topic: DEF FN small self test
- Replies: 7
- Views: 225
Re: DEF FN small self test
Thank you doctor, i need a prescription for new glasses actualy. i mix up notation the long my mind moves, apperently. i should be more conseqent and then probably have less errors my self. i dont know if eg Tornado handles 'A', i have to start a disk for that. it does not use undocumented code, but...
- Sun May 12, 2024 2:27 am
- Forum: Programming
- Topic: DEF FN small self test
- Replies: 7
- Views: 225
Re: DEF FN small self test
cp 56 ; 'A'
must be
cp 65 ; 'A'
must be
cp 65 ; 'A'
- Sun May 12, 2024 1:44 am
- Forum: Website
- Topic: download error message while download works
- Replies: 0
- Views: 89
download error message while download works
Hi
just downloaded Johnny Bravo and have now 3 downloads while the site mentioned "temp ban by overload" or alike ???
while i am just 2 min here and download 1 prog at all
just downloaded Johnny Bravo and have now 3 downloads while the site mentioned "temp ban by overload" or alike ???
while i am just 2 min here and download 1 prog at all
- Sat May 11, 2024 11:17 pm
- Forum: Brand new software!
- Topic: New game: Binary Battle!
- Replies: 16
- Views: 1173
Re: New game: Binary Battle!
lucky you, i still dint make it despite the buggy keeyz, but i got pretty far already
- Sat May 11, 2024 11:14 pm
- Forum: Programming
- Topic: DEF FN small self test
- Replies: 7
- Views: 225
DEF FN small self test
Hi its a side project for creating that zx0 in zx itself. if i want to use DEF FN as a subtitue for an C_file on a command line the coding off the DEF FN has to be copied to the C_file this is a start: ; DEF FN small self test ; DEFselftst_030 ; pasmo -d --tap --name DEFselftst DEFselftst_030.asm DE...
- Wed May 08, 2024 12:51 am
- Forum: Brand new software!
- Topic: New game: Binary Battle!
- Replies: 16
- Views: 1173
Re: New game: Binary Battle!
... Almost everything in the game in randomised. The only fixed thing is the number of levels (5). ... did you try what happens if you move the cursor beside the heatmeter or the coin? i think its a bug beside that virus! the levels keep going up if you click on such a spot like all ascii 128-255 y...
- Tue May 07, 2024 12:05 pm
- Forum: Brand new software!
- Topic: NEW GAME - Shoplifting boy
- Replies: 3
- Views: 535
Re: NEW GAME - Shoplifting boy
funny game indeed, i had to 'extra advance' it to qaop else my fingers get stuck inbetween the shelfs ... perhaps it can fit a 16k (9k!) if ported to 'pure' zx basic? i like the UDG with the character pointed out, if you mix up the following order it just will set the correct udg, btw "k" ...
- Tue May 07, 2024 2:26 am
- Forum: Brand new software!
- Topic: Subliminal Extacy #6
- Replies: 11
- Views: 551
Re: Subliminal Extacy #6
i just want to mention to that obsesive guy:
SPECTRUM IS A VERY HEALTHY MACHINE
there are plenty off FRUIT MACHINES available !!!
even some decent 16k versions
but not for that beer program, that has obesitas!
its a 48k only! and even a total fat 128k ONLY
SPECTRUM IS A VERY HEALTHY MACHINE
there are plenty off FRUIT MACHINES available !!!
even some decent 16k versions
but not for that beer program, that has obesitas!
its a 48k only! and even a total fat 128k ONLY
- Tue May 07, 2024 12:04 am
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
a bit boaring, a stand alone Elis Interlaced Gamma in DEF i keep them separate, thats easier and i wondered about the use. the interlaced gamma is a preparation for the optimisation for the zx0 on zx spectrum. so its STILL mostly a first step of the same elias ; a.d. 2024 Chris Born ; an Elias Gamma...
- Mon May 06, 2024 11:52 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
No, it uses 16 bits in Elias Gamma coding. ok an PSEUDO attempt for checking the "gamma position" only, it has to start some where ; HL =(destiny), DE =(source), BC =() ; HL' , DE' , BC' ; exx normal =adresses elias16: ld de,(source) ld hl,(destiny) ld a,d ex af,af' ld a,e exx ;alt = valu...
- Sun May 05, 2024 1:55 am
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
"one step back and shake" :dance made both classic and interlaced as a separate example, later I put them back into 1 big DEF elias. its 95% equal with small akward differences the mirror part is only for easy visual for real use just remove that part, or concider big endian vs little endi...
- Tue Apr 30, 2024 2:12 am
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
a little more smooth loop now giving data length for the DEF i wonder i i should migrate the loading of the elias source to this loop routine, then the golomb has to be done there to, saving bytes in both included routines, but making them depending, a little. ; a.d. 2024 Chris Born ; an Elias Gamma...
- Mon Apr 29, 2024 12:20 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
i wrote an DEF FN entry, it works nice with the classic eliasgamma included it needs its own DEF FN statement in basic, ofcourse EliasDEF.bas 1 DEF FN p(a)=PEEK a+256*PEEK (a+SGN PI) 5 DEF FN a(s,d,l,g)=USR el 10 CLEAR VAL "25499": LET el=FN p(VAL "23730")+SGN PI: LOAD "&quo...
- Sun Apr 28, 2024 5:03 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
first interlaced attempt, seems close but i dont know usr 25648 for mirror bytes on screen ; ElIntGam-005 ; save as ElIntGam.asm to INCLUDE in EliasGammaCode.asm or other loops ; pasmo -d --bin ElIntGam-005.asm ElIntGam-005.bin ElIntGam-005.symbol ; Interlaced Elias-gamma ;https://github.com/einar-s...
- Sun Apr 28, 2024 2:02 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
There are more options in the Zeta-Xi Code link but uou can ignore them. This table you copied is all you need. Ok, then i need the R1 format up to 8 bits , for now ?zx0 is 8bits only? 0 1 1 1 1 1-2 2-3 3 01x 0x1 3-6 4-7 5 001xx 0x0x1 7-14 8-15 7 0001xxx 0x0x0x1 15-30 16-31 9 00001xxxx 0x0x0x0x1 31...
- Sun Apr 28, 2024 12:18 am
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
about interlaced eliasgamma is the Zeta-Xi-Code what you refer to? https://github.com/einar-saukas/Zeta-Xi-Code Number N Number N+1 Bits Classic Elias Gamma Code Interlaced Elias Gamma Code 0 1 1 1 1 1-2 2-3 3 01x 0x1 3-6 4-7 5 001xx 0x0x1 7-14 8-15 7 0001xxx 0x0x0x1 15-30 16-31 9 00001xxxx 0x0x0x0x...
- Sat Apr 27, 2024 10:47 pm
- Forum: Programming
- Topic: Simple path finding algorithm in assembler
- Replies: 37
- Views: 1777
Re: Simple path finding algorithm in assembler
is a game like "Roads of Rome" solvable with your algoritm?
those type off games are rather easy and after every clearing new paths are possible.
those type off games are rather easy and after every clearing new paths are possible.
- Sat Apr 27, 2024 10:35 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
i added 1 byte to wipe the old contence of (hl),much better! and changed the label from "notyet" ntyt to "next b" nexb, checkce rlc e rlc c jr nc,nexb ; c/nc from C ld (hl),a ; bits = %00000001 inc hl ; new destiny byte xor a ; ld (hl),a ; wipe old data first nexb djnz bitz
- Sat Apr 27, 2024 8:11 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
down to 82 bytes for the single eliasgamma ; pasmo -d --bin EliasGamma.asm EliasGamma.bin EliasGamma.symbol ; HL= destiny, DE=source ; needs, Golomb, Bits elias: ld a,(golomb) ld c,a ; c=0 or 1 ld a,(de) ; elias source add a,c jr z,done ; on elias = 0 or golomb=255 (elias254+1) ld b,8 ld c,1 ; gamma...
- Sat Apr 27, 2024 4:34 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
the pupuse is an pure Z80 eliasgamma and i have to WRITE the final result, aswell , .... one ld (hl),a to few, now repaired and working, pheew ! :roll: ; an elias-gamma format Z80 routine ; DE holds SOURCE, hl holds DESTINY ; LATER to be INCLUDEd as ASM or BIN ; Eliasgammaloop-0076 ; pasmo -d --tapb...
- Sat Apr 27, 2024 3:32 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 45
- Views: 1767
Re: starting with elias-gamma
in C you dont have to concider that DEC B does NOT influence the carry