Search found 43 matches

by sludge
Mon May 13, 2024 6:36 am
Forum: Games/Software
Topic: Guess the screen$
Replies: 7982
Views: 252838

Re: Guess the screen$

Funnily enough I was reading the thread yesterday about the poor rendition of OMD's Enola Gay and it reminded me of Knockout.
by sludge
Sun May 12, 2024 9:27 pm
Forum: Games/Software
Topic: Guess the screen$
Replies: 7982
Views: 252838

Re: Guess the screen$

Theres a recent remake of it and the graphics are similar.

I just cant think of its name...

EDIT: Here it is, Smudge - Bad Moonee Rising

https://spectrumcomputing.co.uk/entry/3 ... nee_Rising
by sludge
Sun May 12, 2024 9:20 pm
Forum: Games/Software
Topic: Guess the screen$
Replies: 7982
Views: 252838

Re: Guess the screen$

Is it the remake of Smudge and the Moonees?

What is it called?
by sludge
Sun May 12, 2024 9:03 pm
Forum: Programming
Topic: How do you turn ULA+ on and off?
Replies: 4
Views: 115

Re: How do you turn ULA+ on and off?

Nice one!
by sludge
Sun May 12, 2024 8:48 pm
Forum: Programming
Topic: How do you turn ULA+ on and off?
Replies: 4
Views: 115

Re: How do you turn ULA+ on and off?

This turns it off, but what turns it back on?

Code: Select all

	ld bc,48955
	ld a,64
	out (c),a
	ld bc,65339
	ld a,0
	out (c),a
	ret
by sludge
Sun May 12, 2024 8:40 pm
Forum: Programming
Topic: How do you turn ULA+ on and off?
Replies: 4
Views: 115

How do you turn ULA+ on and off?

Can ULA+ palates be switched on and off using a simple OUT command from machine code?

Or do you have to load all the data back in?
by sludge
Sun May 12, 2024 5:10 pm
Forum: Games/Software
Topic: Guess the screen$
Replies: 7982
Views: 252838

Re: Guess the screen$

Try this:

Image
by sludge
Sun May 12, 2024 2:09 am
Forum: Games/Software
Topic: Games you played the most with friends?
Replies: 27
Views: 454

Re: Games you played the most with friends?

Most sports games had a 2 player option, Match Day etc. Then there were Bruce Lee/Beach Head 2 type affairs that didnt really offer much besides making it easier to progress with an empty joystick instead the CPU haranguing you. But Rampage's 3 player option always sticks in my mind if only for the ...
by sludge
Sat May 11, 2024 10:19 am
Forum: Games/Software
Topic: Guess the screen$
Replies: 7982
Views: 252838

Re: Guess the screen$

Is that Molecule Man?
by sludge
Sat May 04, 2024 3:33 pm
Forum: Brand new software!
Topic: Jet Set Steamboat Willie
Replies: 10
Views: 510

Re: Jet Set Steamboat Willie

Nice one!

When I first seen the title I thought it would be yet another JSW/MM rehash, but this makes a refreshing change.
by sludge
Fri Apr 12, 2024 4:49 pm
Forum: Programming
Topic: Data prior to the default UDG bank
Replies: 15
Views: 425

Re: Data prior to the default UDG bank

Not like me to do a CLEAR before I start proceedings but I clearly forgot this time.
by sludge
Fri Apr 12, 2024 2:16 pm
Forum: Programming
Topic: Data prior to the default UDG bank
Replies: 15
Views: 425

Re: Data prior to the default UDG bank

I seem to have remedied the situation by re-assembling the code from scratch. No stack issues now, must have been something going on earlier in development. Edit: The stack is now at 24758. I'd done a clear 24799 then loaded the binary code dump in and everything now works fine. Why was the stack un...
by sludge
Fri Apr 12, 2024 12:23 pm
Forum: Programming
Topic: Data prior to the default UDG bank
Replies: 15
Views: 425

Re: Data prior to the default UDG bank

Would popping the registers off the stack between levels help?
by sludge
Thu Apr 11, 2024 7:48 am
Forum: Programming
Topic: Data prior to the default UDG bank
Replies: 15
Views: 425

Re: Data prior to the default UDG bank

How do you set SP from machine code?

Code: Select all

ld sp,44000
by sludge
Thu Apr 11, 2024 7:22 am
Forum: Programming
Topic: Data prior to the default UDG bank
Replies: 15
Views: 425

Re: Data prior to the default UDG bank

Stack - 65300, so theres the problem.

Any easy way of remedying the issue or will my data have to be shifted lower down?
by sludge
Thu Apr 11, 2024 6:16 am
Forum: Programming
Topic: Data prior to the default UDG bank
Replies: 15
Views: 425

Data prior to the default UDG bank

From reset there is data just before 65368, 40 bytes to be exact.

What is it, and does it expand in size?

I have data stored just below this address and something is corrupting it.

Could it be responsible?
by sludge
Wed Apr 10, 2024 11:42 pm
Forum: Brand new software!
Topic: MicroHoppy
Replies: 6
Views: 498

Re: MicroHoppy

10 lines?

Gonna have to check this out.
by sludge
Wed Apr 10, 2024 6:32 am
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

ketmar wrote: Wed Apr 10, 2024 6:11 am more than enough! "LD" alone occupies about 1/3 of the whole non-prefixed instruction set! ;-)
True.
by sludge
Wed Apr 10, 2024 6:06 am
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

Excuse my coding, it was written over thirty year ago on graph paper in a maths lesson. :-) I've never got round to modifying that bit of the code although the rest of the game code isnt much better either. My coding skills are quite shocking, I doubt I know how to use any more than twenty Z80 comma...
by sludge
Wed Apr 10, 2024 1:48 am
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

I'm still a bit flummoxed with the bits not working - perhaps the 254 part has something to do with it? This is what I use on the title screen to load Kempston values into the game code: kempston ld a,31 ld (js1+1),a ld (downx+4),a ld (upx+4),a ld (leftx+4),a ld (js2+1),a ld a,3 ld (stickup+1),a ld ...
by sludge
Tue Apr 09, 2024 9:33 pm
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

Cheers Tom, I'll have a play around with that routine.
by sludge
Tue Apr 09, 2024 9:08 pm
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

Ah right, I realised why I never bothered with Kempston, if no Kempston is present IN31 automatically reads it as fire being pressed.

That means the game starts automatically with Kempston controls even though no Kempston is connected.
by sludge
Tue Apr 09, 2024 8:40 pm
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

Theres also this part:

Code: Select all

js1		ld a,239
		in a, (254)
Perhaps the 254 needs to change?
by sludge
Tue Apr 09, 2024 8:38 pm
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Re: Kempston support

Tried this but it wont work, character just keeps moving right. kempston ld a,31 ld (js1+1),a ld (downx+4),a ld (upx+4),a ld (leftx+4),a ld (js2+1),a ld a,3 ld (stickup+1),a ld a,2 ld (stickdown+1),a ld a,1 ld (stickleft+1),a ld a,0 ld (stickright+1),a ld a,4 ld (js3+1),a ret
by sludge
Tue Apr 09, 2024 8:14 pm
Forum: Programming
Topic: Kempston support
Replies: 16
Views: 437

Kempston support

How do you go about supporting Kempston joystick in games? I think its IN 31 but I haven't a clue about the up/down/left/right/fire bits. This is the routine I use for Sinclair (I think it will make sense), how would you adapt it for Kempston? Sinclair ld a,239 ld (js1+1),a ld (downx+4),a ld (upx+4)...