Search found 17 matches

by SavourySnaX
Sun Jun 11, 2017 7:47 am
Forum: Z80 Assembly
Topic: Efficient way to store X coarsniate and check for right x pos
Replies: 2
Views: 686

Re: Efficient way to store X coarsniate and check for right x pos

Well it depends on how you intend to use your sprites.. For example, if you were making a single screen/flip screen type game where your sprites remain within the physical bounds of the screen, you can get away with using a byte for X and simply adding 32 before dumping to the sprite register (keep ...
by SavourySnaX
Sat Jun 10, 2017 4:07 pm
Forum: Z80 Assembly
Topic: Can we get source code to TESTSPR2?
Replies: 39
Views: 6783

Re: Can we get source code to TESTSPR2?

What is wrong with my code, it displays the green dragon but leaves a trail, do we need to remove the sprite before redrawing it? You need to make sure to set the sprite register number EVERY time before changing the co-ords, otherwise what happens is you set the registers for each successive sprit...
by SavourySnaX
Wed Jun 07, 2017 3:27 pm
Forum: ZX Spectrum Next
Topic: ZX Spectrum Next...AKA project LOKI
Replies: 7
Views: 1163

Re: ZX Spectrum Next...AKA project LOKI

Flare one and Konix multisystem share very similar hardware, the main difference is a slightly less configurable blitter on the flare and the z80. Oh and the fact the flare one had 4 asics, to the Konix' final larger single asic. Flare one could probably be re-implemented into the next as a core.
by SavourySnaX
Sun Jun 04, 2017 1:06 pm
Forum: Showcase
Topic: WIP - Spectrum Next Isometric
Replies: 2
Views: 1823

Re: WIP - Spectrum Next Isometric

nice.. I probably should have added fractional movement before uploading... It will get better :)
by SavourySnaX
Sun Jun 04, 2017 12:59 pm
Forum: Z80 Assembly
Topic: Can we get source code to TESTSPR2?
Replies: 39
Views: 6783

Re: Can we get source code to TESTSPR2?

Yeah, sorry my code was based on the latest source version of ZEsarUX, not the beta. I`ll update the post to make that clear.
by SavourySnaX
Sun Jun 04, 2017 12:48 pm
Forum: Showcase
Topic: WIP - Spectrum Next Isometric
Replies: 2
Views: 1823

WIP - Spectrum Next Isometric



Knocked this up this morning. Written in assembler (apart from the basic program that prints the text). It adjusts the sprite list to keep the correct draw order.
by SavourySnaX
Sun Jun 04, 2017 8:18 am
Forum: Z80 Assembly
Topic: Can we get source code to TESTSPR2?
Replies: 39
Views: 6783

Re: Can we get source code to TESTSPR2?

Edit. Oh, great! You can't even use out with a fixed 8-bit address because if you do it puts the contents of the ****ing accumulator on the upper lines of the bus. What the heck was the point of that supposed to be? Which is why much of the hardware in the past that used the z80 had lazy decoding (...
by SavourySnaX
Sat Jun 03, 2017 10:41 pm
Forum: Z80 Assembly
Topic: Can we get source code to TESTSPR2?
Replies: 39
Views: 6783

Re: Can we get source code to TESTSPR2?

Is there a sprite pattern viewer in zesarux? I could find a "sprite viewer" but it seems to display from a RAM address which presumably the Next sprites would not have. I used the telnet debug command tbblue-get-pattern 0 which dumped the contents, but at least on the latest sources, you can use F5...
by SavourySnaX
Sat Jun 03, 2017 10:37 pm
Forum: Z80 Assembly
Topic: Can we get source code to TESTSPR2?
Replies: 39
Views: 6783

Re: Can we get source code to TESTSPR2?

Correct, that won't work. From the Zilog Manual : "The contents of the HL register pair are placed on the address bus to select a location in memory. The byte contained in this memory location is temporarily stored in the CPU. Then, after the byte counter (B) is decremented, the contents of Register...
by SavourySnaX
Sat Jun 03, 2017 10:19 pm
Forum: Z80 Assembly
Topic: Can we get source code to TESTSPR2?
Replies: 39
Views: 6783

Re: Can we get source code to TESTSPR2?

This isn't a complete answer, but here is code that uploads pattern data to pattern slot 0. Assembled with pasmo, tested with ZEsarUX pattern viewer- it should work on the next. However its not enough to make the sprite visible - I`ll post code to do that later/tomorrow - if there is interest : org ...