Resource centre for ZX Spectrum games
      using Manic Miner and Jet Set Willy game engines

 

Archive of the

Manic Miner & Jet Set Willy Yahoo! Group

messages

 

 

 

Message: 6841

Author: jetsetdanny

Date: 13/04/2015

Subject: Re: Question about inserting patch vectors in JSW64

 

Thanks for the tip, John.
I have applied the change you suggested, setting the value of #C0FB to #00 #81, with the rest of the modified code as described in my previous message. The result was that "The Off Licence" worked well, there was no distortion in the room name, but there was nothing printed on the screen, either. So I failed to achieve was I was looking for.
I also tried placing "my" code at #8200 (free space in variant V, I believe), outside of the room data, setting the value of #C0FB to #00 #82 to point it there, with the test text in the range #8218 - #8227, also outside of the room data. The value of the printing code was modified accordingly to tell the program to take the text from #8218 - #8227.
The result was that after pressing Enter on the title screen the game just kept coming back to the title screen after a split second. Interestingly, when I paused the emulator (ZX Spin) and then un-paused it, on pressing Enter the game just reset the emulator (it went to the blank screen with © 1982 Sinclair Research Ltd ).
So I am doing something definitely wrong. I need to know what I am doing wrong, or perhaps I will try rephrasing the question.
If I want to have a text printed on the screen in a given room in an area not used during gameplay (for example, having the text "TestTestTestTest" printed starting at 7,1) and I want it to stay there on the screen while the player is in that room, how would I go about it? Is it possible at all?
Thanks for any help :-) .
Daniel

 

 

arrowleft
arrowright