-
How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…
...
[/code]
If you multiply y with 256 you're ... addressing pixel lines, if you multiply y with 32 you're ... -
How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…
...
[/code]
If you multiply y with 256 you're ... addressing pixel lines, if you multiply y with 32 you're ... -
How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…
... /> Then you definitely want to multiply y with 32. As in ... -
Mighty Maths ProgramsIn a break from typing in listings from 37-year-old magazines, I had a sudden urge to write a maths-related program, as I do, occasionally. Some, suc…
... numbers after the radix point, multiply the block by 16 or ... -
Celebrity deaths...How about putting them all in one thread? In a sticky? As it seems to be a weekly thing at the moment? Save a bit of space and we can all do without …
... things you've ever smelt. Multiply it by 10 and you ... -
Matchpoint ball algorithmAnyone has any idea how Psions Matchpoint ball algorithm works? Are they calculating the balls' parabola (floating point for just the ball doesn't se…
... turn your division into a multiply. You'd use fixed point ... -
Remainder (Mod) calculationsI've been figuring out how to calculate remainders after integer division by a constant divisor k (A mod k = A % k). I found that for most small di…
... divisions by constants into a multiply, on the wayback machine anyway ... but version, requires 32 bit multiply function:
https://web ... -
Remainder (Mod) calculationsI've been figuring out how to calculate remainders after integer division by a constant divisor k (A mod k = A % k). I found that for most small di…
Strongest aspect of Spectrum BASICWhat would you say is the strongest aspect of Spectrum BASIC compared to other BASICs on other micros at the time. I think it might have been the Fun…
... .
[/quote]
Multiply the radians by 180/π to ...Cost of Living CrisisThere's a cost of living crisis going on. Fuel, gas, food. fags, you name it, it's on the up. Wages and benefits stagnant. One needs a mortgage for a…
... amount of juice generated but multiply by that by what - 20 ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
Well you probably don't want to support drawing text off the screen edges and word wrap. Understanding that code will help you work out how to do more stuff though.
You're also better off drawing 16x16 sprites all in one go (see sprite16x16a ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
[quote="Paradigm Shifter;993493"]Well you probably don't want to support drawing text off the screen edges and word wrap. Understanding that code will help you work out how to do more stuff though.
You're also better off drawing 16x16 ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
Works for me (TM)
[url=https://postimg.cc/K1dYS56w][img]https://i.postimg.cc/SKKY9TDS/worksforme.png[/img][/url]
[code]
ORG 32768
FONTBASE EQU #3c00
ATTRIBS EQU #5800
main:
; make ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
Exit (only on the top row, and not at the edges) done.
[url=https://postimages.org/][img]https://i.postimg.cc/QxVtXJcL/exit-Nwallonly.png[/img][/url]
Got annoyed by Spin giving me grief today. I was uploading binary files ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...
ld l, b
; multiply row by 32
add ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... or A already
rlca ; multiply by 2. The data in ...How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... hardly had to use a multiply ;) And the only interesting maths ...Sort 2 byte words (x, y) on ypos, also question about swap (DE), (HL)Well that was a lot of debugging ;) But if you want a routine which takes an array of 16 byte words x, y and then sort them on y (ignoring x), I'm…
... = root node
heapify_words:
; multiply root, elt count by 2 ...Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…
... = root node
heapify_words:
; multiply root, elt count by 2 ...Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…
... N function before adding a multiply function lol.
