Search found 100 matches

by Hikaru
Wed Jan 03, 2018 2:02 pm
Forum: Programming
Topic: IY and the interrupt
Replies: 15
Views: 4587

Re: IY and the interrupt

How is the reader of the book supposed to go from "FRAMES-3" to "IY+40"? The word "FRAMES" doesn't appear anywhere else in the book. Regarding the lack of constant/variable list in the book at least, perhaps the 'ROM Disassembly' authors were relying on the fact that t...
by Hikaru
Wed Jan 03, 2018 11:58 am
Forum: Programming
Topic: IY and the interrupt
Replies: 15
Views: 4587

Re: IY and the interrupt

Hello, world! What you're seeing here is the effect of the so-called 'good practices' at work. A small example: 0038 MASK-INT PUSH AF Save the current values held in PUSH HL these registers. LD HL,(FRAMES) The lower two bytes of the INC HL frame counter are incremented LD (FRAMES),HL every 20 ms. (U...
by Hikaru
Wed Jan 03, 2018 9:14 am
Forum: Brand new software!
Topic: My new game: Wunderwaffe
Replies: 17
Views: 5231

Re: My new game: Wunderwaffe

Made it! - No cheating ofc. :p A bit tricky and some memorization required (there are a few insta-kill spots, sometimes depending on which direction you came from) but definitely doable. http://i65.tinypic.com/qz2pl2.png Also, I've confirmed the diagonal jump direction bug, this seems to happen when...
by Hikaru
Tue Jan 02, 2018 6:16 am
Forum: Brand new software!
Topic: My new game: Wunderwaffe
Replies: 17
Views: 5231

Re: My new game: Wunderwaffe

Nice. Apart from the whole moonbase floaty feel, which I'm not too sure about, there's actually a decent and thought-out game to it, with a combat system that leans more towards a strategic/positioning type puzzler. Got to the lower-floor 'mine railway' yesterday, will definitely try again more. I'v...
by Hikaru
Tue Jan 02, 2018 5:53 am
Forum: Programming
Topic: Porting easy/hard of diffrent micro computers.
Replies: 11
Views: 3474

Re: Porting easy/hard of diffrent micro computers.

Just my impression but the easiest one might be Enterprise 128 . It uses a Z80 and what seems to be a very flexible screen configuration system, apparently allowing it to emulate Speccy screen modes to a good extent. Hardest systems I'm sure should include ZX80/ZX81. 1Kb of memory and an explanation...
by Hikaru
Tue Jan 02, 2018 5:39 am
Forum: Programming
Topic: Exomizer 2.0.10
Replies: 11
Views: 3492

Re: Exomizer 2.0.10

Thanks for the heads up. Excellent stuff, although I assume the unclear licensing status for the Z80 decompressors will prevent it from seeing more usage in original projects.
by Hikaru
Sun Dec 31, 2017 4:40 pm
Forum: Programming
Topic: Fastest Divide by 6
Replies: 26
Views: 6680

Re: Fastest Divide by 6

IIRC division by 3 is the same as multiplication by #55. Then you can shift the result right once to get division by 6. Not sure if that helps? Edit: seems like it's actually #55+1 for more accurate rounding, or something. This seems to work: ;In: C = dividend ;Out: H = quotient ld l,c ld h,0 ld b,h...
by Hikaru
Wed Dec 27, 2017 4:31 pm
Forum: Programming
Topic: Walking on steep platforms
Replies: 9
Views: 2642

Re: Walking on steep platforms

Nice, and makes sense in hindsight. :) You can practically do any sort of uneven terrain this way, let alone regular slopes at any angle.
by Hikaru
Tue Dec 26, 2017 7:54 pm
Forum: Programming
Topic: Walking on steep platforms
Replies: 9
Views: 2642

Re: Walking on steep platforms

Well, how about something like this. Let's say your maps are composed of regular 16x16 tiles. Reserve a portion of tile codes for sloped backgrounds. If a tile that is stepped on falls in that range, look up an additional offset to apply to the object's Y coordinate. This should be based on its X co...
by Hikaru
Tue Dec 26, 2017 5:30 pm
Forum: Programming
Topic: Write binary data to TRD from ASM
Replies: 34
Views: 14752

Re: Write binary data to TRD from ASM

Good to know. I've had a similar experience recently trying to figure out the (low-level) +3DOS stuff. Those multi-byte OUTs/INs, madness. :lol:
by Hikaru
Tue Dec 26, 2017 5:16 pm
Forum: Graphics
Topic: Screen switching, does it happen?
Replies: 6
Views: 3127

Re: Screen switching, does it happen?

As people have pointed out, this setup is fairly awkward to work with, and most of the time it's not even really necessary (unfortunately, there are exceptions). Regardless, I think it might be interesting to hear opinions on how to plan out things across the pages etc for such a game. Personally I'...
by Hikaru
Sun Dec 24, 2017 4:39 pm
Forum: Games/Software
Topic: Poll: Raffaele Cecco's Best Game
Replies: 7
Views: 2281

Re: Poll: Raffaele Cecco's Best Game

Exolon for me, not much to say there it's practically Spectrum-defining, and that melody is just like hnnng being back home and all. :)

I also like Solomon's Key a lot, excellent playability, easily a close second.
by Hikaru
Sat Dec 23, 2017 10:44 am
Forum: Emulators
Topic: Emulator with debugger which updates screen on single step
Replies: 8
Views: 2583

Re: Emulator with debugger which updates screen on single step

If you mean like masked sprites and whatnot, you won't be able to see the individual steps of AND and OR that way, since typically each byte is only written back once with the combined result: pop de ld a,(hl) and e or d ld (hl),a inc l ... Think of it like this: masking puts the 'black' parts of th...
by Hikaru
Fri Dec 22, 2017 1:20 pm
Forum: Games/Software
Topic: The best classic Speccy game beginning with A: discussion
Replies: 10
Views: 3006

Re: The best classic Speccy game beginning with A: discussion

Subjectively, one more game that deserves a mention is Ano Gaia. Probably my go-to game starting with 'A'. Illegally blasphemously hackered to make that drill level playable since ages, it just needs a loading screen now. |: Probably will vote ATF though, in large part because I love the somewhat-un...
by Hikaru
Mon Dec 18, 2017 4:14 am
Forum: Games/Software
Topic: The A-Z of the best Speccy games (modern: post-1993)
Replies: 50
Views: 10943

Re: The A-Z of the best Speccy games (modern: post-1993)

T is for Twilight: The Land of Shadows. I'm amazed I even have to spell it out!

Star Heritage was massive in our time, but now I love the Sword of Ianna just as much. :) And yes I don't think it ever got the translation it deserves.
by Hikaru
Sun Dec 17, 2017 8:06 am
Forum: Programming
Topic: Write binary data to TRD from ASM
Replies: 34
Views: 14752

Re: Write binary data to TRD from ASM

The whole 'leaving gaps' issue is normal in a sense, and is expected of programs that operate on the file level. Notice that, as long as the file you're working with is the last file on the disk, no gap would be left if it is deleted and subsequently saved back. On the other hand, doing a MOVE withi...
by Hikaru
Sat Dec 16, 2017 12:47 pm
Forum: Announcements
Topic: ZX Dev Conversions
Replies: 28
Views: 7528

Re: ZX Dev Conversions

I invited many people, and made it public in WoS, Tweeter, and even Spectrum Facebook groups with near 10.000 members and where 90% of the people are british, and nobody looked excited about it, so... :( I have the feeling that they prefer playing Manic Miner over and over again than paying attenti...
by Hikaru
Thu Dec 14, 2017 1:12 pm
Forum: Programming
Topic: Write binary data to TRD from ASM
Replies: 34
Views: 14752

Re: Write binary data to TRD from ASM

I now have an asm loader that loads everything except $6000-$7FFF (and updates my progress bar). Loading this block is breaking TR-Dos, so I need to debug to see what's going on. I don't really want to rearchitect the game because the codebase is shared with the non-Pentagon version (and space in u...
by Hikaru
Thu Dec 14, 2017 6:47 am
Forum: Games/Software
Topic: The A-Z of the best Speccy games (classic: 1982-1993)
Replies: 58
Views: 12433

Re: The A-Z of the best Speccy games

Juan F. Ramirez wrote: Thu Dec 14, 2017 6:43 am
5MinuteRetro wrote: Wed Dec 13, 2017 10:13 pm
And I think S needs to be Sir Fred. Controversial, perhaps, but such a great game.
Noooo! Sabre Wulf! Sabre Wulf!
What's wrong with you people, S is clearly Starquake.

:lol:
by Hikaru
Tue Dec 12, 2017 1:03 pm
Forum: Programming
Topic: Write binary data to TRD from ASM
Replies: 34
Views: 14752

Re: Write binary data to TRD from ASM

I've made a little progress. The error returned in $5D0F was 1 No file . i wasn't padding my filename with spaces in the file descriptor. Now I get error 12 The channel is not open in $5D0F. But I have already been using TR-DOS - the code this is running from is loaded from basic with a TR-Dos call...
by Hikaru
Mon Dec 11, 2017 6:05 pm
Forum: Programming
Topic: Write binary data to TRD from ASM
Replies: 34
Views: 14752

Re: Write binary data to TRD from ASM

Hi [mention="Hikaru"]Hikaru[/mention], I wonder if you could link me to your copy of 'ZX-Spectrum & TR-DOS Для пользователей и программистов', if you have it as a scan. The one I have only goes up to page 114. It's either a different book or it's missing all the good stuff :) Heys. Th...
by Hikaru
Mon Dec 11, 2017 5:43 pm
Forum: Brand new software!
Topic: Woot! ZXMAS Tape Magazine 2017
Replies: 46
Views: 11400

Re: Woot! ZXMAS Tape Magazine 2017

Certainly, I will have to disagree with this being a bad year for the Speccy. I would also say sprawling epics are very much in demand! Dat Santos ending though. Loved the Doodlebug too. Bob's puzzlers have some interesting ideas. Unfortunately I think '12 days' has a bug. If you cancel a link just ...
by Hikaru
Sat Dec 09, 2017 8:37 am
Forum: Games/Software
Topic: Friday Night Quiz: Nathan Barley
Replies: 41
Views: 8387

Re: Friday Night Quiz: Nathan Barley

RMartins wrote: Sat Dec 09, 2017 2:08 am 11 - REX ? (spread gun )
Nah, those were phatter and sorta diamond-shaped I think. Nevertheless, those pixels do seem familiar... :|
by Hikaru
Sat Dec 09, 2017 8:33 am
Forum: Programming
Topic: Write binary data to TRD from ASM
Replies: 34
Views: 14752

Re: Write binary data to TRD from ASM

out of interest, what is the best rom to use for testing (compatibility wise?) Well, the original 5.03 is considered the baseline version of sorts. This is the last known official release. Another widespread edition is the unofficial 5.04T, which comes as the default ROM in some major 'Pentagon'-or...
by Hikaru
Fri Dec 08, 2017 7:45 pm
Forum: Programming
Topic: TRD boot loader
Replies: 7
Views: 2171

Re: TRD boot loader

Yes, it's probably less relevant in the case of boot.B, the only difference I can think of is when it is loaded with LOAD or LOAD "boot". Otherwise, the default implied command for those is RUN. Looking at my own loader, the autostart marker is #80 #AA placed after the final #0D at the end...