OmaOhneBH Posted December 16, 2019 Share Posted December 16, 2019 SDRIVE.COM, how do I change the menu's background color, please? I would like to change it to blue, as for instance it was done with Synassembler. SDRIVE.COM Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted December 16, 2019 Share Posted December 16, 2019 SDRIVE1.XEX 2 1 Quote Link to comment Share on other sites More sharing options...
OmaOhneBH Posted December 16, 2019 Author Share Posted December 16, 2019 14 minutes ago, Roydea6 said: SDRIVE1.XEX 4.57 kB · 1 download That was quick, thank you! How to find the responsible address and the value to change? Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted December 16, 2019 Share Posted December 16, 2019 (edited) Its 02c6 a colour register, was just about to post a com, I just changed it to storing 72 in there (blue) Mapping the Atari is your friend... Edit: Added mine, its a darker blue...Just in case SDRIVE.COM Edited December 16, 2019 by Mclaneinc 2 1 Quote Link to comment Share on other sites More sharing options...
OmaOhneBH Posted December 16, 2019 Author Share Posted December 16, 2019 29 minutes ago, Mclaneinc said: Its 02c6 a colour register, was just about to post a com, I just changed it to storing 72 in there (blue) Mapping the Atari is your friend... Edit: Added mine, its a darker blue...Just in case SDRIVE.COM 4.57 kB · 1 download Thank you! Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted December 16, 2019 Share Posted December 16, 2019 38 minutes ago, OmaOhneBH said: That was quick, thank you! How to find the responsible address and the value to change? Offset(h) $31 from $02 to $94 1 1 Quote Link to comment Share on other sites More sharing options...
OmaOhneBH Posted December 16, 2019 Author Share Posted December 16, 2019 3 minutes ago, Roydea6 said: Offset(h) $31 from $02 to $94 Thanks! But how do I know that it's $31, not $32 or any other address? How to figure out? Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted December 16, 2019 Share Posted December 16, 2019 A9=Load 94 8D=Store in location C602 1 1 Quote Link to comment Share on other sites More sharing options...
E474 Posted December 16, 2019 Share Posted December 16, 2019 Hi, I don't think the sources to the menu program are in the SDrive Max GitHub repo ( https://github.com/kbr-net/sdrive-max ), but I found a copy on the SDrive NUXX wiki, at: https://nuxx.net/wiki/SDrive_NUXX - located in http://nuxx.net/files/sdrive_nuxx/SDrive20090403.zip I haven't assembled the code to check it is the same, so you might want to check this is the case! 1 Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted December 16, 2019 Share Posted December 16, 2019 (edited) Yeah, as Roys saying apart his typo in the last post... Some people can read code just by looking at it, if you then know the location that's used to change the colour (02C6 in this case) you can look for A9 ?? 8D C6 02 ?? is the colour that is originally there (actually 02 in the file) The rest if you disassemble it is LDA 72 ; That's load the accumulator with 02 STA $02C6 ; and store that number at this address which controls the colour register Once we know the location by either just knowing it off the top of your head or reading Mapping the Atari or similar books we can use a hex editor to look for that A9 02 8D C6 02 and change the 02 to 72 in my case. the number you put there tell the computer what colour you want, a darker blue in my case. There's apps to tell you the number to use. And there you have it....Looks more than it is and easier than rewriting the code And you may wonder why in the disassembly it shows 02C6 but in the file it shows C6 02, there's a long winded answer that i won't do but the simple answer is that when the code is compiled then it lists addresses back to front ie low byte then high byte , C6 = low byte so 02 = High byte, same with all memory locations etc (that have high and low bytes, an address such as $65 is just see as 65) Edited December 16, 2019 by Mclaneinc 1 Quote Link to comment Share on other sites More sharing options...
tajvdz Posted December 19, 2019 Share Posted December 19, 2019 Interesting. Is there a ready to use file to use? Quote Link to comment Share on other sites More sharing options...
Bee Posted January 1, 2020 Share Posted January 1, 2020 (edited) My Bad - post removed _ I posted about the display menu on the LCD and just realized this is a thread on the program menu. Edited January 1, 2020 by Bee my error 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.