Search found 500 matches

by Wall_Axe
Mon Oct 09, 2023 12:46 pm
Forum: Sinclair Miscellaneous
Topic: serious uses for 128k
Replies: 5
Views: 184

serious uses for 128k

I'm thinking it would have been possible to make an assembler and create whole 48k games using the +2 alone. As long as the game returned to the assembler when it was exited. if the game crashed it would be a pain, so using a seperate computer would still be the best solution. Were there any 128k wo...
by Wall_Axe
Sun Oct 08, 2023 2:47 pm
Forum: Games/Software
Topic: If there was 5000 games at the end of 1985?
Replies: 3
Views: 165

Re: If there was 5000 games at the end of 1985?

Looks like an anti video gaming advert :lol:
by Wall_Axe
Sun Oct 08, 2023 1:10 pm
Forum: Brand new software!
Topic: XT-Engine: small, but powerful platform game engine in asm
Replies: 129
Views: 5534

Re: XT-Engine: small, but powerful platform game engine in asm

Thanks,I had wanted to make a game exactly like that.
Manic miner has its place but so does Michael bay type stuff :D
by Wall_Axe
Sat Oct 07, 2023 3:58 pm
Forum: Brand new software!
Topic: XT-Engine: small, but powerful platform game engine in asm
Replies: 129
Views: 5534

Re: XT-Engine: small, but powerful platform game engine in asm

Do you have support for projectiles?
I suppose the rex aspect would indicate yes.
by Wall_Axe
Thu Oct 05, 2023 2:43 pm
Forum: Games/Software
Topic: Out of the Shadows
Replies: 11
Views: 323

Re: Out of the Shadows

Sounds challenging
by Wall_Axe
Thu Oct 05, 2023 1:30 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Short fallout style text game

I ended up doing that subtraction routine myself, but also used divide to print the correct number of hundreds and tens.
My routine is a lot longer than the one you posted.lol
by Wall_Axe
Thu Oct 05, 2023 12:16 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Short fallout style text game

nice, i was playing columns 3 on the megadrive for PS4 a few days ago. I had to make a function to display a number from 0 to 255, it was torturous but got it done. Had to create the divide number function as well :) I realise I am reinventing the wheel, but I like to know whats going on. Now I can ...
by Wall_Axe
Thu Oct 05, 2023 11:30 am
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Short fallout style text game

thanks, i wouldnt mind getting into macros


its interesting to see the spectrum doing something lightning fast:
Image
by Wall_Axe
Wed Oct 04, 2023 11:42 pm
Forum: Sinclair Miscellaneous
Topic: Using A.I to recreate ZX Spectrum loading screens.
Replies: 343
Views: 7853

Re: Using A.I to recreate ZX Spectrum loading screens.

Yeah I just wrote 8 wizards battling
by Wall_Axe
Wed Oct 04, 2023 6:35 pm
Forum: Games/Software
Topic: Out of the Shadows
Replies: 11
Views: 323

Re: Out of the Shadows

Looks very interesting, exactly like those obscure fantasy games I was just posting about.
It looks like a rogue -like but maybe it's a bit different
by Wall_Axe
Wed Oct 04, 2023 3:44 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Short fallout style text game

thanks for the suggestions, derefencing without trashing DE is good. I'll check out lantern for a laff, always like to investigate these things.
by Wall_Axe
Wed Oct 04, 2023 10:32 am
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Short fallout style text game

I tried six different languages:basic,boriel's basic,Z88DK,OBERON etc. and all of them had faults like using too much memory, only using arrays or the data would overwrite the code, causing crashes. I'm now using assembly and trying to use function calls as much as possible. To make it readable. One...
by Wall_Axe
Tue Oct 03, 2023 1:00 am
Forum: Programming
Topic: trying to copy memory address then use it
Replies: 2
Views: 94

Re: trying to copy memory address then use it

Thanks I copied that code.

Got the thing in the original post working as well. Just had to use brackets at the right time :ugeek:
by Wall_Axe
Mon Oct 02, 2023 9:56 pm
Forum: Programming
Topic: trying to copy memory address then use it
Replies: 2
Views: 94

trying to copy memory address then use it

I need to explain this first: I want have a string and copy its address to the start of the character struct. i.e. right on the playerCharacter label. The string will be the characters name, but there are going to be loads of characters called 'goblin' so im just copying a pointer to the string gobl...
by Wall_Axe
Mon Oct 02, 2023 8:56 pm
Forum: Programming
Topic: this short program crashes the spectrum
Replies: 7
Views: 150

this short program crashes the spectrum

ORG #8000 LD HL,playerCharacter LD (thisCharacter),HL LD HL,(thisCharacter) LD A,D LD (HL),A INC HL LD A,E LD (HL),A DEC HL LD (16384),HL thisCharacter: defw #0 playerCharacter: defw #25 defb 3;strength defb 3;skill defb 3; charisma number: defw 256 Im trying to create a function which writes numbe...
by Wall_Axe
Mon Oct 02, 2023 7:05 pm
Forum: Programming
Topic: Alien Movement Routine from 'Cracking The Code' by John Wilson
Replies: 1
Views: 168

Re: Alien Movement Routine from 'Cracking The Code' by John Wilson

nasty aliens.

you dont get enemy movement like that these days. It's horrific in a creepy crawly kind of way.

Back in my day the enemies were hard to hit, you had to graft away lad, to even get one killed.(etc.)
by Wall_Axe
Sun Oct 01, 2023 4:23 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Reading a 16 bit value at (IX+4)

jr nc 1 seems to be not compiling
by Wall_Axe
Sun Oct 01, 2023 3:59 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Reading a 16 bit value at (IX+4)

sn3j wrote: Sun Oct 01, 2023 3:24 pm add e
ld e, a
jr nc 1
inc d
Thanks, quite a complicated thing to do in itself :shock:
by Wall_Axe
Sun Oct 01, 2023 12:52 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Reading a 16 bit value at (IX+4)

thanks, I just had another look at my code: here is a better explanation. at the label stringtoprint: is the address of the string to print. My string printing function reads it. So I need to get the memory address of the room +32 and save that address to stringtoprint. Just wondered the best way of...
by Wall_Axe
Sun Oct 01, 2023 11:56 am
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Reading a 16 bit value at (IX+4)

ok ill give some more detail: I have 'rooms' with three string each to describe the room. I want to store pointers to the rooms in an array. So I can do random access to them. (this is not relevant to the original post though) So I wanted the first string at the beginning of the room struct, so no m...
by Wall_Axe
Sat Sep 30, 2023 2:27 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Reading a 16 bit value at (IX+4)

actually im trying to put an address into IX and then I need to put that address +4 into HL

How would I do that? at the moment I'm simply loading it into DE and then doing addition on DE using the DJNZ loop.

I just wondered if its better or easier to use IX+ for that?
by Wall_Axe
Sat Sep 30, 2023 2:21 pm
Forum: Programming
Topic: Short fallout style text game (Merged from multiple topics)
Replies: 90
Views: 949

Re: Reading a 16 bit value at (IX+4)

Thanks I'll give that a go