Jump to content
Jet Set Willy & Manic Miner Community

[File] JSW Keypad Trimmer


Spider

Recommended Posts

JSW Keypad Trimmer


A simple Basic program to remove the Keypad data completely from the JSW game code. Load in your game code, load the 'trimmer', run it and save the game code afterwards.

 

Two versions are provided:

 

1. The basic keypad only version. This replaces the long pointless startup routine with a much shorter (32 bytes vs 10 bytes) and removes the following:

 

The keypad messages "Enter code at grid location etc" - 64 bytes starting 34187
The keypad reading/display routines - 156 bytes starting 34463
The keypad graphics and attributes - 255 bytes starting 39680
The codes themselves - 178 bytes starting 40448

 

Note this does not remove (most) of the 'garbage data' sat in the sprite editing area as its not all stritcly keypad related. For that see (2) below...

 

2. The slightly extended version. This does not remove any 'unused routines' , it merely expands slightly on the above as some random data is present in the sprite area, this will remove it too. See the screenshot of the before/after for this. It is not recommended to use this one on a third party game before checking said areas have not already been recycled for sprite or other data however it is recommended to use this on a standard game before editing it. To clarify this, as well as the above the following are also emptied:

 

Source remnant - 64 bytes starting 39936
Data remnant - 333 bytes starting 40627
Data remnant - 1152 bytes starting 42624


 

Link to comment
Share on other sites

To slightly clarify on this:

 

The 'keypad remover' is safe on third party games unless the area has been recycled already. It would be prudent to check this. it is provided for this purpose.

 

The 'expanded' one is the one to use in 99% of cases as this removes the keypad as the 'remover' plus the garbage data (easily seen in JSWED) from the sprite area. This is the one to use on an original game before editing. It is likely to work on the majority of third party games too. Here is a comparison picture of the relevant section of the sprite area from JSWED when the 'expanded' one has been used:

 

sprites_combi.png

 

And two quick pics (in the download descriptor anyway) of it 'in action'

 

Keypad only:

keypad_remove.png

 

Keypad and remnant:

keypad_and_remnant.png

 

It should be noted no other 'unused' or otherwise data is removed, this 'extra' was merely to assist in the initial tidy up of the sprite area, nothing more. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.