Search found 2641 matches
- Mon May 10, 2021 10:59 pm
- Forum: Programming
- Topic: LD HL,(NN)
- Replies: 53
- Views: 1391
Re: LD HL,(NN)
I can get the X and Y bytes separately into A, or if I want both I can do LD BC,(sprite_XY) But I have to remember to define them in memory in the order Y,X, so that when I do a 2-byte fetch Y=>C and X=>B. Yes, it can be tricky to remember the low-endian byte order, but I often define such variable...
- Sun May 09, 2021 12:35 pm
- Forum: Games/Software
- Topic: Clone Wars (Frogger): vote
- Replies: 20
- Views: 579
- Sun May 09, 2021 12:22 pm
- Forum: Games/Software
- Topic: Clone Wars (Frogger): vote
- Replies: 20
- Views: 579
Re: Clone Wars (Frogger): vote
Voted for Spectrum Cross, because that was the first game that taught me that you could incorporate machine code into BASIC.
I remember loading it, pressing BREAK, and spending some time figuring out how the sprites could be moved so smoothly in BASIC. Then it dawned on me . . .
I remember loading it, pressing BREAK, and spending some time figuring out how the sprites could be moved so smoothly in BASIC. Then it dawned on me . . .
- Sun May 09, 2021 11:53 am
- Forum: Brand new software!
- Topic: Klondike Solitaire
- Replies: 17
- Views: 998
- Sat May 08, 2021 12:17 am
- Forum: Showcase your work!
- Topic: Overhead driving engine development
- Replies: 64
- Views: 4305
Re: Overhead driving engine development
So far I've been using video recordings of lab experiments with appropriate values output to the screen, then using VLC to observe things frame by frame. Yeah, no, this is very limiting. With an RZX recording, you can set breakpoints close to when the bug occurs and examine the state of the machine...
- Fri May 07, 2021 8:57 am
- Forum: Brand new software!
- Topic: Klondike Solitaire
- Replies: 17
- Views: 998
Re: Klondike Solitaire
Looks great! Needs more control options. I’m not too keen on the QAOP scheme and rather use the Sinclair Joystick or, ideally, redefinable keys. Feel free to use my routine.
- Thu May 06, 2021 10:03 am
- Forum: Programming
- Topic: Z80 things that weren't obvious that you wish you'd known earlier
- Replies: 46
- Views: 2326
Re: Z80 things that weren't obvious that you wish you'd known earlier
Not strictly Z80, but it took me a very long time to realise the benefits of fixed point arithmetic in writing a 2D game. I was always thinking in terms of pixels and could never really get the kind of smoothness I wanted. Having read how Super Mario does it, the answer is obvious. Use 16-bit math ...
- Thu May 06, 2021 10:00 am
- Forum: Programming
- Topic: Z80 things that weren't obvious that you wish you'd known earlier
- Replies: 46
- Views: 2326
Re: Z80 things that weren't obvious that you wish you'd known earlier
Why? It’s no different than, say, IN A,(*) (where the full port address is formed by the contents of A placed in the top eight bits). I'm not sure - it feels like you're trying to scoop water out of a bucket, using the same bucket that's holding the water... :lol: I see what you mean, but in fact t...
- Thu May 06, 2021 12:07 am
- Forum: Programming
- Topic: Z80 things that weren't obvious that you wish you'd known earlier
- Replies: 46
- Views: 2326
Re: Z80 things that weren't obvious that you wish you'd known earlier
Why? It’s no different than, say, IN A,(*) (where the full port address is formed by the contents of A placed in the top eight bits).Morkin wrote: ↑Wed May 05, 2021 11:30 pm I still can't get my head around:
Just hurts my brain for some reason.Code: Select all
LD H,(HL)
- Wed May 05, 2021 11:43 pm
- Forum: Showcase your work!
- Topic: Overhead driving engine development
- Replies: 64
- Views: 4305
Re: Overhead driving engine development
It’s good practice to walk away from a particular piece of code and work on something else, if only to give your brain a rest. Finding unusual bugs like those you’re describing can be daunting. I often run my game in an emulator while recording it to an RZX file. That way, if you catch a rare bug, y...
- Wed May 05, 2021 9:00 pm
- Forum: Programming
- Topic: Learn Multiplatform Assembly Programming with ChibiAkumas!
- Replies: 11
- Views: 434
Re: Learn Multiplatform Assembly Programming with ChibiAkumas!
I remember ChibiAkumas. He was a little touchy, wasn’t he? I watched a couple of his videos and I think they were quite good.
- Wed May 05, 2021 12:53 pm
- Forum: Sinclair Miscellaneous
- Topic: The Sedge Warbler - The official mascot of the Spectrum
- Replies: 41
- Views: 7152
- Wed May 05, 2021 9:03 am
- Forum: Games/Software
- Topic: Games that you never stop playing... year after year
- Replies: 44
- Views: 1557
Re: Games that you never stop playing... year after year
Renegade
Target: Renegade
Flying Shark
Nether Earth
Target: Renegade
Flying Shark
Nether Earth
- Tue May 04, 2021 10:15 pm
- Forum: Games/Software
- Topic: Games that you never stop playing... year after year
- Replies: 44
- Views: 1557
- Tue May 04, 2021 9:56 pm
- Forum: Games/Software
- Topic: Games that you never stop playing... year after year
- Replies: 44
- Views: 1557
Re: Games that you never stop playing... year after year
For those of you enjoying Exolon, I have a bug-fixed version.
- Tue May 04, 2021 7:58 pm
- Forum: Programming
- Topic: Z80 things that weren't obvious that you wish you'd known earlier
- Replies: 46
- Views: 2326
Re: Z80 things that weren't obvious that you wish you'd known earlier
Nope. EX DE,IX is not a valid Z80 instruction.
- Tue May 04, 2021 7:48 pm
- Forum: Programming
- Topic: Z80 things that weren't obvious that you wish you'd known earlier
- Replies: 46
- Views: 2326
Re: Z80 things that weren't obvious that you wish you'd known earlier
Or simply:presh wrote: ↑Tue May 04, 2021 5:34 pmCode: Select all
; LD BC, IX LD B, IXH ; ok LD C, IXL ; ok ; LD HL, IX LD H, IXH ; nope! LD L, IHL ; nope! ; instead, have to do: LD D, IXH LD E, IHL EX DE, HL ; or, if DE is unavailable: LD A, IXH LD H, A LD A, IXL LD L, A
Code: Select all
push ix ;2 bytes
pop hl ;(or any other register) 1 byte
- Mon May 03, 2021 9:29 pm
- Forum: Hardware
- Topic: Issue 3B - White screen, Retroleum smart card runs - Screen corrupt
- Replies: 5
- Views: 151
- Sun May 02, 2021 9:44 pm
- Forum: Hardware
- Topic: Issue 3B - White screen, Retroleum smart card runs - Screen corrupt
- Replies: 5
- Views: 151
Re: Issue 3B - White screen, Retroleum smart card runs - Screen corrupt
Was going to swap the ULA as a test with the one in my working Issue 2 , but not sure that's the problem, are the ULA's swappable between issue 2's &3's ? Generally, ULAs are backward compatible. That is, you can use a later version of the ULA in any board that came out before it, but not the o...
- Sat May 01, 2021 11:13 pm
- Forum: Hardware
- Topic: ZX Spectrum Issue 3 not loading and I've tried the obvious
- Replies: 9
- Views: 1061
Re: ZX Spectrum Issue 3 not loading and I've tried the obvious
Just make sure you use the headphone output—something that can drive a decent pair or high-impedance cans—not the line-level output.
- Thu Apr 29, 2021 2:32 pm
- Forum: Games/Software
- Topic: Do you remember the first time?
- Replies: 51
- Views: 2158
Re: Do you remember the first time?
For the life of me I can’t remember what the first Spectrum game I played was. I distinctly remember a “compilation” tape made a friend that had Knight Lore among other things on it. Then, for some reason, Turbo Esprit springs to mind, but neither was the first game I played.
- Thu Apr 29, 2021 4:58 am
- Forum: Graphics
- Topic: Question about Spectrum colours
- Replies: 6
- Views: 639
Re: Question about Spectrum colours
I was very young when I discovered that Spectrum colours were perfect for creating a fade effect (from 0 to 7 or from 7 to 0) in my BASIC programs, especially when using a black and white TV or monitor. However, I still don't understand the logic behind it. Can anyone please explain it in layman's ...
- Thu Apr 29, 2021 4:28 am
- Forum: Games/Software
- Topic: Beeper music during gameplay/action
- Replies: 41
- Views: 1620
Re: Beeper music during gameplay/action
It is weird.Einar Saukas wrote: ↑Thu Apr 29, 2021 1:04 amThat's a weird game...Ast A. Moore wrote: ↑Wed Apr 28, 2021 10:18 pm Dark Fusion pulls off some pretty amazing stuff in the animated menu with multichannel beeper music.
- Wed Apr 28, 2021 11:53 pm
- Forum: Games/Software
- Topic: Beeper music during gameplay/action
- Replies: 41
- Views: 1620
Re: Beeper music during gameplay/action
That still takes up quite a lot of the CPU cycles (considering how many are needed to play the multichannel sound). The player and the animation must be decently optimized.
- Wed Apr 28, 2021 10:18 pm
- Forum: Games/Software
- Topic: Beeper music during gameplay/action
- Replies: 41
- Views: 1620
Re: Beeper music during gameplay/action
Dark Fusion pulls off some pretty amazing stuff in the animated menu with multichannel beeper music.