Search found 1409 matches

by AndyC
Mon Jan 22, 2024 6:03 pm
Forum: Programming
Topic: Understanding BASIC memory map
Replies: 16
Views: 831

Re: Understanding BASIC memory map

Couldn't you just lower RAMTOP automatically? Surely it's not that difficult to find the entry point to the CLEAR routine?
by AndyC
Sun Jan 21, 2024 8:53 pm
Forum: Graphics
Topic: Iconic Character Sprites
Replies: 80
Views: 4442

Re: Iconic Character Sprites

One advantage to a Lego design is you could make it smaller and then redesign it any time you got bored of it. Assuming you get a roughly 50/50 split between black and orange pieces. A site that kits it up for you does look neat, although personally I couldn't bring myself to use unofficial pieces. ...
by AndyC
Sun Jan 21, 2024 11:44 am
Forum: Hardware
Topic: Main Screen Scrolling Issue
Replies: 3
Views: 310

Re: Main Screen Scrolling Issue

Also bear in mind that the signal put out by the Speccy is outside the PAL spec, so a very modern display might just struggle syncing with it directly.
by AndyC
Sun Jan 21, 2024 9:35 am
Forum: Programming
Topic: Contention pattern for HALT
Replies: 25
Views: 1445

Re: Contention pattern for HALT

From the Zilog docs;

Each cycle in the HALT state is a normal M1 (fetch) cycle except that the data received from the memory is ignored and an NOP instruction is forced internally to the CPU. The HALT acknowledge signal is active during this time indicating that the proces-sor is in the HALT state.
by AndyC
Fri Jan 19, 2024 11:59 pm
Forum: ZX Spectrum Next
Topic: NEXT FAQ’s
Replies: 65
Views: 3626

Re: NEXT FAQ’s

Oh well. I can dream! Looks like a wireless keyboard would do the job. Anyone have any luck attaching a USB wireless keyboard via a PS/2 adapter? https://i.postimg.cc/ygHKn14n/e91ea6e5-2955-4a8b-9a6f-6966416d185b-cropped.jpg I'm pretty sure USB keyboards and mice have to support the PS/2 protocol i...
by AndyC
Fri Jan 19, 2024 8:30 am
Forum: ZXDB Discussion
Topic: Question about educational genre types
Replies: 3
Views: 402

Re: Question about educational genre types

I doubt there is one. Most of the genre stuff is a throwback to the old WoS flat file arrangement and I'm not sure consistency was ever its strong point. It's not a great way of representing that kind of data in the real world either. Generally I'd take the approach of allowing multiple "tags&q...
by AndyC
Thu Jan 18, 2024 10:20 am
Forum: Games/Software
Topic: Best game music/sound
Replies: 37
Views: 1928

Re: Best game music/sound

Batman The Movie has a great soundtrack, although I'd put the Batwing level as my favourite of all:

by AndyC
Tue Jan 16, 2024 9:28 pm
Forum: Games/Software
Topic: Best game music/sound
Replies: 37
Views: 1928

Re: Best game music/sound

Here's a question: How come AY music sounds so different on the CPC from the Spectrum? Is there some kind of hardware filter or amplifier involved? Spectrum AY music often sounds thin and weedy like that Firefly tune, whereas the CPC seems fuller and more resonant, more arcadey in a way. The CPC ha...
by AndyC
Mon Jan 15, 2024 3:48 pm
Forum: Hardware
Topic: RAM disk capacity
Replies: 9
Views: 499

Re: RAM disk capacity

Ah yes "!" vs "M" if I recall. As one bank is used by +3DOS , I wonder what happens with that on the +2A/B , if its got anything in it or used, as in for the ram-disk. It's the same. +3DOS still reserves some for a disk cache and keeps the second screen free regardless of whethe...
by AndyC
Mon Jan 15, 2024 3:46 pm
Forum: ZXDB Fixes
Topic: Count Duckula
Replies: 3
Views: 289

Re: Count Duckula

The episode on which is based is called "No sax please. We're Egyptian" which is obviously spoofing "No sex please, we're British" so I'd suspect its a mistake.
by AndyC
Mon Jan 15, 2024 10:04 am
Forum: Hardware
Topic: RAM disk capacity
Replies: 9
Views: 499

Re: RAM disk capacity

Hmm, so, relatedly: are there any games that work on a 128/+2 but not on a +2/+3 purely because there isn't enough RAM? I doubt it. The Syntax for using the RAMdisk is entirely incompatible between the two, so that'd break thing in BASIC long before running out of RAM. In a pure m/code game, you ca...
by AndyC
Mon Jan 15, 2024 8:36 am
Forum: Hardware
Topic: RAM disk capacity
Replies: 9
Views: 499

Re: RAM disk capacity

It's not actually the same size ROM, the +2A/+3 has 64K of ROM, where the +2 has just 32K, although I don't think that matters here. The RAMdisk on the +2 is a very minimal implementation and can use all 5 extra 16K pages on the 128. I'd assume the directory structure is also pretty minimal. The RAM...
by AndyC
Sun Jan 14, 2024 10:36 am
Forum: Programming
Topic: Rockfall: why does this game crash in 128 mode?
Replies: 31
Views: 1817

Re: Rockfall: why does this game crash in 128 mode?

You probably only need find about 9 bytes somewhere: CALL original _usr_address EXX LD HL,$2758 EXX RET And then just call that in place of whatever the original USR was doing. Could possibly save another byte if the return value in BC doesn't matter at all. That way it shouldn't matter which RET ac...
by AndyC
Sat Jan 13, 2024 6:30 pm
Forum: Games/Software
Topic: Challenge accepted: Manic Miner Turbo
Replies: 9
Views: 558

Re: Challenge accepted: Manic Miner Turbo

I'm not really surprised, the Amstrad version (which is based roughly on the engine used for JSW2) is a fair bit faster and probably runs equivalent to a 7Mhz version. It's actually a bit more playable sped up somewhat, tbh.
by AndyC
Fri Jan 12, 2024 1:56 pm
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 962

Re: gigaviewer

IIRC the ram-paging scheme in 128/+2 grey is somehow different of that in the +3/+2A, the latter allows an all-ram mode, for example, but I'm not an expert. I think I've read somewhere the 128/+2 grey scheme allowed some type of gigascreen effect easier than the +3/+2A. The +2A/+3 paging mechanism ...
by AndyC
Fri Jan 12, 2024 12:18 am
Forum: Programming
Topic: Best way to fill screen in basic?
Replies: 26
Views: 1536

Re: Best way to fill screen in basic?

You can probably tweak it so it copies 6912*2 bytes instead of 6912 and make the data contiguous. I don't know anything about paging on the 128K though so I may be wrong. You can't arrange the memory such that both screens are contiguous (each one occupies the first 6912 bytes of a RAM bank, either...
by AndyC
Thu Jan 11, 2024 12:34 am
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 962

Re: gigaviewer

Yes, a lot of LCD screens will, entirely as a side effect of their image processing, hide the flickering you'd normally see. The distinction is more obvious on an old school CRT.
by AndyC
Thu Jan 11, 2024 12:31 am
Forum: Programming
Topic: Best way to fill screen in basic?
Replies: 26
Views: 1536

Re: Best way to fill screen in basic?

Paging is really not that complicated. Essentially you're picking which bit of memory is located between 49152 and 65535. When you change the bank, all that memory at that location instantly changes. So any code or data you want to access needs to be below 49152 before you start swapping memory arou...
by AndyC
Thu Jan 11, 2024 12:11 am
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 962

Re: gigaviewer

Thank you for sharing this - I've been wondering about it since you WOOT submission. This is the code from the basic generated by imagetozxspec. Is this all that is needed for a simple viewer? Ran in USR0 mode. 370 CLEAR 49151 380 POKE 23739,111 390 OUT 32765,21 400 LOAD "" CODE 49152 410...
by AndyC
Thu Jan 11, 2024 12:07 am
Forum: Programming
Topic: Best way to fill screen in basic?
Replies: 26
Views: 1536

Re: Best way to fill screen in basic?

You're not paying attention to your memory map. When you change the 128K banking you're paging out your copy routine (which is right at the top of memory). You'll also be paging out the memory that contains part of your second screen, if my back of a fag packet maths is correct.
by AndyC
Sun Jan 07, 2024 9:33 am
Forum: Other Retro Stuff
Topic: A scary mask detaching itself...
Replies: 4
Views: 445

Re: A scary mask detaching itself...

One of those weird face things from Super Mario Bros 2? The ones that chase you once you pick up a key?
by AndyC
Sat Jan 06, 2024 9:02 am
Forum: Games/Software
Topic: Some gigascreen game prototype: need input
Replies: 26
Views: 1599

Re: Some gigascreen game prototype: need input

Please, see the build attached to the post (link at the bottom of the post). Prototype is already working and I'm not asking about technical challenges cause I'm aware of it already ;) I'm just asking in general: "Is it worth to use Gigascreen or better to switch to classic screen". Like ...
by AndyC
Sat Jan 06, 2024 12:23 am
Forum: Games/Software
Topic: Some gigascreen game prototype: need input
Replies: 26
Views: 1599

Re: Some gigascreen game prototype: need input

It can be very dependent on the exact images, but personally I find it varies from "mildly irritating on my eyes" to " absolutely headache inducing". It might be better on an LCD, where the frames sometimes get blurred together, but the results can be very display specific. Also ...
by AndyC
Thu Jan 04, 2024 2:24 pm
Forum: Programming
Topic: ZX Basic & reading two keys at the same time
Replies: 21
Views: 562

Re: ZX Basic & reading two keys at the same time

Dr beep wrote: Thu Jan 04, 2024 2:17 pm QA56 M
Are you, by any chance, an octopus? I don't have nearly enough dexterity in my hands to manage that.

QA56 X

Would require a bit less contortion, although I still wouldn't call it nice.
by AndyC
Thu Jan 04, 2024 2:20 pm
Forum: Programming
Topic: How much self modifying code was there and did it do anything?
Replies: 26
Views: 1420

Re: How much self modifying code was there and did it do anything?

Self modifying code tends to fall into one of two categories: 1) Simple stuff like storing a variable inline inside an instruction so LD, HL, nnnn has the nnnn value directly stored in the opcode. Slightly more advanced versions tweak the odd instruction itself to swap an XOR for an OR or a NOP mayb...