Search found 35 matches

by sludge
Sat May 11, 2024 10:19 am
Forum: Games/Software
Topic: Guess the screen$
Replies: 7956
Views: 252237

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: 496

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: 415

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: 415

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: 415

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: 415

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: 415

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: 415

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: 487

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: 430

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: 430

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: 430

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: 430

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: 430

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: 430

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: 430

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: 430

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)...
by sludge
Sun Apr 07, 2024 9:57 am
Forum: Games/Software
Topic: Most iconic ZX Spectrum game characters?
Replies: 6
Views: 183

Re: Most iconic ZX Spectrum game characters?

Lol - and he's not even on my lego pic! He was on there for a while, but he was dropped in a restructure, made redundant if you will... He got a good severance package though. 50p and a packet of Rolos. For me, its Miner Willy, Wally Week, Sabreman, Magic Knight, Technician Ted or Dizzy. Nice bit o...
by sludge
Sun Apr 07, 2024 8:23 am
Forum: Programming
Topic: Help with a routine
Replies: 3
Views: 184

Re: Help with a routine

Thanks very much guys, I'll have a good study when I get back in this afternoon. I thought it could have been one of yours R-Tape, I've modified it many a time over the years but always to increase size. Reducing size (horizontally) stumped me, I woke up 5.15am this morning and thats all I could thi...
by sludge
Sun Apr 07, 2024 6:52 am
Forum: Games/Software
Topic: Most iconic ZX Spectrum game characters?
Replies: 6
Views: 183

Re: Most iconic ZX Spectrum game characters?

An iconic Spectrum character for me is one that never (officially at least) appeared on the commode 64.

Jetman fits that criteria.
by sludge
Sun Apr 07, 2024 5:44 am
Forum: Programming
Topic: Help with a routine
Replies: 3
Views: 184

Help with a routine

A few years ago someone on the WoS site wrote me a 2x2 tile printing routine, I managed to adapt it for 4x4 and 2x1 tiles no problem. Now I want to use it for 1x2 tiles but have encountered difficulties. Despite the original block of code coming annotated I spent the best part of last evening trying...
by sludge
Tue Apr 02, 2024 9:22 am
Forum: Brand new software!
Topic: Dr. Acula
Replies: 43
Views: 1619

Re: Dr. Acula

Thanks for the link.
by sludge
Tue Apr 02, 2024 7:25 am
Forum: Brand new software!
Topic: Dr. Acula
Replies: 43
Views: 1619

Re: Dr. Acula

Was the original 80's game part written in BASIC?
by sludge
Sat Mar 30, 2024 9:58 am
Forum: Sales/Commercial
Topic: Collection clear out
Replies: 11
Views: 1077

Re: Collection clear out

Serious question - how have those cartridges ended up on the other side of the world?!

I had to do some serious searching back in the 80's to obtain mine.
by sludge
Sat Mar 30, 2024 7:41 am
Forum: Sales/Commercial
Topic: Collection clear out
Replies: 11
Views: 1077

Re: Collection clear out

Nice collection of carts (if a wee bit rough round the edges).

I sold my collection a few years back, something I now regret.