-
Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…
How big is this lookup table going to be to get full precision? -
Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…
... ;714712]How big is this lookup table going to be to ... -
Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.
Using a 16 bytes lookup table is a good compromise as well, flip each half byte. -
Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.
Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.
... also use an 8 byte lookup table, pack 16 sets of ...Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.
... . Although nice, I think a lookup table method coupled with the ...Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.
This is one of those things, like lookup tables, that I'm going to be too dense to understand, even with two explanations, isn't it?
(And then, hopefully, like those, get it later)Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... go faster, then using a lookup table method as follows, but ... screen z80 fast using a lookup table.
Scr_add ld ... /> ;45 Bytes
Create lookup table to 256 byte boundary ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
Yes, lookup table is only 256 bytes and makes everything much faster. Every serious game uses it.Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... ,#XX 06XX ;Hi Byte of Lookup table
Scr_add ld hl ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... ,#XX 06XX ;Hi Byte of Lookup table
Scr_add ld hl ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... ,#XX 06XX ;Hi Byte of Lookup table 7
Scr_add ld ... ld c,a 4F ;find lookup table address 4
ld ... ld c,a 4F ;find lookup table address 4
ld ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
[QUOTE=jamorski;718534]The old size vs speed chestnut eh!![/QUOTE]
Right! :)
When optimizing for size, the next step would be eliminating the 256 bytes lookup table....Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... +256=291 bytes (including the lookup table).
It would ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... !
This is the lookup table version in 30 bytes ... [/CODE]
And the lookup table creator, now only 16 ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
15 bytes lookup creator
[CODE]
start ld hl,FE00
loop ld a,l
ld (hl),#01
rpt rra
rl (hl)
jr nc,rpt
inc l
jr nz,loop
ret[/CODE]Problem With POINT StatementHello everyone this is my first ever post, So firstly i'd like to say hello to everyone and secondly thank you to the admins for such a great site, …
... - such as UDGs, character sets, lookup tables, machine code - can be ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... little restrictive, but if the lookup table can reside in free ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... and is 51 bytes. The lookup again needing to reside at ...Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…
... from $F000-$F0FF where the lookup table resides).
[CODE ...Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…
... added or removed through dynamic lookup of the message code) depends ...Machine code optimisationI'm geting back into z80 coding and wonder what the best way of showing how efficient the code is. I've got Rodney Zaks book and see there are timin…
... the objective was to use lookup tables and some push/pop ...Looking for some bog standard soundspreferably using PLAY command.... example 10 LET a$="the sound code" 20 PLAY a$ ideally I'm looking for noises for 1) A space ship engine, pref…
... curve of some kind - a sine wave or whatnot. I'm ...