-
Optimal shifting for set pixel?Hi, I'm optimizing my set pixel code. For speed. But without using partitioned memory (i.e. a table on 256 byte boundary) I have optimal memory addr…
Using a lookup table is probably best, but if you really wanted to do it without, you could use self-modifying code.
Have a [B]SET 0,(HL)[/B] instruction, and modify the last byte from C6 to be (C6 | (x&7) -
Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?
... transforms the argument X of SIN X or COS X into ... -
Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?
... />
I'd also add lookup tables as something that usually ... -
Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?
... I'd been using [B]sin[/B] and [B]cos[/B ... -
Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?
... I'd been using [B]sin[/B] and [B]cos[/B ... -
Currah ?Speech channelIt seems to me that it would be nice to be able to send words to the ?Speech with PRINT #5;"Speak English to me, Jimmy" or some such. There really i…
... say is just a massive lookup table. This is entirely do ... -able but the actual lookup would be a huge IO ... -
Tile engine and slight colour flickerOver the past few nights I've been working on a simple tile game engine for a rock fold game I'm making. While all is going surprising well I've not…
... />
Made by screen table lookup a bit bigger to include ... -
Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …
Here's my table lookup version of PIXADD in case ... -
So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…
... using precalculated tables to calculate sin and cos, but that seems ... -
So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…
... using precalculated tables to calculate sin and cos, but that seems ... -
So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…
... every direction, worked out with SIN and COS. If you like ... -
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…
... to use ATTR for the lookup, but I could do with ... -
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…
... to use ATTR for the lookup, but I could do with ... -
Retro Gamer's top twenty-five N64 games pollRetro Gamer has this month published a top twenty-five list of N64 games, as voted for by the readers (I didn't know they were doing it, or I'd have …
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…
... the additional overhead of cache lookup on every operation too large ...X=Y=ZFirst public outing of X=Y=Z for the 48K Spectrum, a 4-level demo which can be download from: [as TZX] [URL="http://www.bobs-stuff.co.uk/extras/xyzd…
... me a while to recall/lookup the syntax :) ) and I think ...X=Y=ZFirst public outing of X=Y=Z for the 48K Spectrum, a 4-level demo which can be download from: [as TZX] [URL="http://www.bobs-stuff.co.uk/extras/xyzd…
... me a while to recall/lookup the syntax :) ) and I think ...zmakebas updated - MSDOS executable includedHi all, Via a good friend (Alistair Neil) I have managed to update zmakebas - the tokenizer for Spectrum BASIC files. New version 1.3. There's now …
... CLOSE statement plus the command lookup mechansim would often get confused ...Twitch?Anyone here use Twitch? PS4 has it kind of built in and I've watched a few people playing games over it (Last of Us mainly) and although it's a bit h…
I watch Sethbling's Minecraft videos, the speedrun contests (someone was doing C64 game sin the last one, inspired me to do the dizzy games), and Saltybet. Although I wish they'd delete most of the Touhou characters from Saltybet, they're boring.maths questionNB this will probably show what a tragically low level understanding of maths I have, but hey ho :-) for some reason the other day I suddenly remem…
... a calculator instead of pressing "sin" or "cos" you ... constants:
SIN 0 = 0 (easy!)
SIN 30 = 0 ... (easy!)
So, SIN 35 becomes:
35 is ... (the distance between SIN 30 and SIN 45) to 0. ... gives 0.5666 for SIN 35.
SIN(35) is actually ...maths questionNB this will probably show what a tragically low level understanding of maths I have, but hey ho :-) for some reason the other day I suddenly remem…
... a calculator, and worked out SIN, COS and TAN by hand ... four known points on the SIN curve, and any other point ... 90 degrees to SIN, and TAN by dividing SIN by COS.[/QUOTE ...maths questionNB this will probably show what a tragically low level understanding of maths I have, but hey ho :-) for some reason the other day I suddenly remem…
... often for the transcendental functions (sin, cos, tan etc) estimates are ...ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…
... , pushfa, rand, rshift, seed, sgn, sin, sinh, sqrt, tan, tanh, ufloat ...ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…
... , pushfa, rand, rshift, seed, sgn, sin, sinh, sqrt, tan, tanh, ufloat ...ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…
... file. Presumably with a slow lookup as in your example CodeR ...Buffer to screen - how much?[FONT=Calibri][SIZE=3]I am starting to build a new game and am researching different ways to accomplish what I need to do. My question is, is it poss…
... . Line by line, use a lookup table and do them in ...Buy the Pope's hatIts easier for a camel to pass through the eye of a needle than a rich man enter the kingdom of Heaven. So, to improve your chances of eternal life, …
... that personal wealth is a sin, no man has the right ...Buy the Pope's hatIts easier for a camel to pass through the eye of a needle than a rich man enter the kingdom of Heaven. So, to improve your chances of eternal life, …
... taught that wealth is a sin, and a temptation into further ... sin, and that wealth is therefore ...clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…
You could build a lookup table for each row and point areas you don't want to clear at the ROM?clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…
... ;798428]You could build a lookup table for each row and ...
