-
****ing Awesome Spectrum Engine (FASE)This is a new engine (sprites, tiles, map) for all ZX Spectrum machines. The engine set ups a runtime enviroment that leave between 24K and 30K byt…
... to resort to a general multiply but this sort of thing ... -
****ing Awesome Spectrum Engine (FASE)This is a new engine (sprites, tiles, map) for all ZX Spectrum machines. The engine set ups a runtime enviroment that leave between 24K and 30K byt…
... to resort to a general multiply but this sort of thing ... -
Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …
... ...b loops). Maybe if I multiply everything by 1000000 or whatever ... -
New CPU and Spectranet oddity.I have no reason to suspect this problem is due to a fault/poor design of the Spectranet, but understanding what it does at system initialisation may…
... + Kempston. Perhaps call it the MultiPLY)
Anyway, getting back ... -
New CPU and Spectranet oddity.I have no reason to suspect this problem is due to a fault/poor design of the Spectranet, but understanding what it does at system initialisation may…
... + Kempston. Perhaps call it the MultiPLY)[/QUOTE]
cramming a ... -
Convert AT co-ordinates to PLOT co-ordinatesHow do you convert the 2 from MC? I don't know how to convert the vertical value as they're differently ordered... Heres what I have so far: [CODE]…
... go the other way round, multiply the character row by 8 ... 168-168 = 0.
Multiply and divide by two by ... -
hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…
... be replaced by divide/int/multiply/subtract style modulus for BASIC ... -
Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…
... techniques would help.
Multiply nybbles, and use a small ... -
Deterministic random number generatorI'm looking for a random number generator in assembly which, given a seed, the generated sequence is always the same. You change the seed, you get a …
Patrik's XOR generator is a good one but it only generates 8-bit numbers (again a plus if that's all you want!). If you want random numbers larger than 8-bit you have to call the function several times and piece together the results, which degrades the ... -
R.E. in school.I was thinking about this the other day. In RE in secondary school in the 90's the curriculum over the 5 years consisted of. 1st day: discussion on …
... there was somebody who could multiply the food as if by ... -
R.E. in school.I was thinking about this the other day. In RE in secondary school in the 90's the curriculum over the 5 years consisted of. 1st day: discussion on …
... there was somebody who could multiply the food as if by ... -
Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…
... , it's way quicker to multiply by a compile time known ... -
Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…
... games you never have to multiply or divide for anything, ... occasionally a fixed constant multiply to index tables or whatever ... derived chip with built in multiply/divide without expense. And ... to pay for fast integer multiply in specific circumstances. Floating ... -
Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…
... row within segment?
rrca ; multiply row by 32.
rrca ... -
Calculating an average?I would like to calculate the average amount I pay per month on my sons' school lunch accounts. Every month I receive a notification when the lunch m…
... - start with a daily allowance, multiply it by 5 for the ... week, then multiply by 4.3333.. for the ... -
Multiply by 48Is there a 'cheat' to multiply by 48 in Z80? I have a table of sprites 48 bytes each entry, and I want to be able to offset my pointer with a simpl…
... ]
You can also multiply by 16. That's easy ... -
Multiply by 48Is there a 'cheat' to multiply by 48 in Z80? I have a table of sprites 48 bytes each entry, and I want to be able to offset my pointer with a simpl…
Multiply by 48Is there a 'cheat' to multiply by 48 in Z80? I have a table of sprites 48 bytes each entry, and I want to be able to offset my pointer with a simpl…
... ]Is there a 'cheat' to multiply by 48 in Z80? [/QUOTE ... ]Multiply by 3 then multiply by 2 four times ...Double-Buffer ScreenFor my Alien Breed Speccy re-write I decided to use a Double Buffer (DB) or 'Back Screen' to draw all the game action onto, before shuffling the whol…
... ; divide x by 8 and multiply by 32
rlca ; net ... calculation: multiply by 4
and 224 ...Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?
[QUOTE=dmsmith;770580]I couldn't figure how to post it here in a code box...[/quote]
Allow me.
[code]THE 'REDUCE ARGUMENT' SUBROUTINE (Offset 35: 'get-argt.')
This subroutine transforms the argument X of SIN X or COS ...Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?
... , if you write a general multiply using static data (or smc ...Excel sprite creatorMaybe no use to anyone but I knocked up the attached to help me make simple 16x16 sprites. Only supports the standard 8 colours no bright or flash s…
... test some z80 code to multiply a number by 36 before ...Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …
... 8, take the integer part, multiply it by 8 again, and ... eight, lose the fraction, and multiply by eight again - which effectively ...Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …
Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…
... fixed point operations. If you multiply two numbers and they overflow ... for 8 to 32 bit multiply.
Anyway if ... , a single draw primitive may multiply into many that would individually ...Basic program malfunctionHello. Please does anyone know why this basic program 10 LET x=0 20 LET x=x+0.1 30 print x 40 if x<>1 then goto 20 50 STOP does not properly work o…
... preferable way might be to multiply everything by 10 and take ...Change PAPER and BORDER colours from machine codeHow do you go about changing PAPER and BORDER colours from machine code? I've forgotten the system variables for border and paper.
... ,HL trick 5 times to multiply the row number by 32 ...fixed point mathsI came across this site which is quite interesting [URL="http://z80-heaven.wikidot.com/advanced-math#toc18"]http://z80-heaven.wikidot.com/advanced-ma…
... cache) you do much cheaper multiply operations.fixed point mathsI came across this site which is quite interesting [URL="http://z80-heaven.wikidot.com/advanced-math#toc18"]http://z80-heaven.wikidot.com/advanced-ma…
... cache) you do much cheaper multiply operations.[/QUOTE]
That ...fixed point mathsI came across this site which is quite interesting [URL="http://z80-heaven.wikidot.com/advanced-math#toc18"]http://z80-heaven.wikidot.com/advanced-ma…
... multipliers which can do a multiply in a single clock tick ...