Spider Posted March 2, 2016 Report Share Posted March 2, 2016 Please note I've not tested this to any extent (read that as tested at all) ;) :) This is a simple Basic program to 'trim' the unused addresses as per SkoolKids's disassembly of JSW: Listing and output: Last but not least, the file itself: jsw_trimmer.tap jetsetdanny 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted March 4, 2016 Author Report Share Posted March 4, 2016 I thought (when writing this) to include removal of the 'dead' routine in-between the loops specifically 35345 to 35365 as this is never ran. Forcing to run by POKE 35343, 32 (this changes the JR Z to JR NZ) but I have not really tried it properly. It was left 'in place' as authors may either modify it so it is used (in which case the 'trimmer would 'eat' it) or use the space for something else although the primary reason was simply as it was not listed in the disassembly itself so I considered it not 100% 'safe' to remove. Having said that the 'trimmer' should only really be ran on a fresh file or one without any code modifications... Quote Link to comment Share on other sites More sharing options...
IRF Posted March 4, 2016 Report Share Posted March 4, 2016 There are probably a few other bits that are 'spare' but which aren't listed in the disassembly 'index'. Spider 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted September 30, 2016 Author Report Share Posted September 30, 2016 I've re-written this from scratch although I've not quite finished. It now offers more locations to 'trim' although it will ask for confirmation too. I plan to include a descriptor field for each 'area' where appropriate too. The question I have is should use the user be presented with choices, working though a set of yes/no questions and then at the end it will 'trim' or should it be trimmed at each question ? The latter is easier to do although unless I do it is assembly the larger chunks will be slow. The 'set of questions' may seem easier to follow however it will be more work to do this... :unsure: jetsetdanny 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.