Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Patch Winvce - poke 646,1 / E534 A9 01
2015-02-28 22:33
mstram

Registered: Dec 2013
Posts: 91
Patch Winvce - poke 646,1 / E534 A9 01

Just for "grins", where would I look in the Winvice / x64.exe or dll's to find the rom code :

E534 A9 0E LDA #$0E set light blue
E536 8D 86 02 STA $0286

I want to change it to "poke 646,1" i.e. LDA #$0e -> LDA #01

Patching it, *should* be relatively simple, as I would just be (presumably) changing one byte from 0e -> 01.

I know I can get the source code, dig through it, and recompile it (which is probably easier), but the biggest p.i.a. is always setting up the compiler / Mingw environment etc. (I might end up doing that anyway, if I get really bored ;) )

Setting up a snapshot is also sort of an option, except that a reset puts it back to that 0e color.
2015-02-28 22:57
sailor

Registered: Jan 2002
Posts: 63
Hello,

What you are looking for is in the kernal ROM(file).

edit: the kernal is one of the c64 ROMs.. nothing to do with the emulator/vice exe or dll:s

//Jani
2015-02-28 23:41
mstram

Registered: Dec 2013
Posts: 91
Thank you !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I patched the kernal file, and now I have bright white instead of pale white letters.
2015-03-01 06:28
iAN CooG

Registered: May 2002
Posts: 2000
2015-03-01 07:00
enthusi

Registered: May 2004
Posts: 648
I can recommend
lame-o-kernal V0.1
:)
2017-11-06 07:19
mstram

Registered: Dec 2013
Posts: 91
I wish I had posted HOW I patched the kernal file ;)

Haven't used vice for "awhile" ... new computer, trying to figure out the patch thing again.
2017-11-06 07:22
oziphantom

Registered: Oct 2014
Posts: 205
With a hex editor would be the obvious answer. Transhexlation is fairly good for the task. I added mine to the Right Click "Send To" menu for ease of use.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
ΛΛdZ
Merlin/JAM
Visage/Lethargy
Impetigo/Crescent
Inge/HVSC
ghost/excess
rail slave/Hokuto Fo..
Stack J./Triumwyrat,..
Krill/Plush
Ant (Anthony Stiller)
Flavioweb/🇮🇹ASR/HF🇮🇹..
Curlin
Tom-Cat/Nostalgia
blendo75
Marq/Fit^Lieves!Tuor..
Guests online: 58
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.6)
5 The Shores of Reflec..  (9.6)
6 Wonderland XII  (9.6)
7 We Come in Peace  (9.6)
8 Lunatico  (9.6)
9 Incoherent Nightmare  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.6)
2 Party Horse  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 Pandemoniac Part 2 o..  (9.5)
5 Treu Love [reu]  (9.5)
6 Arok 20 Invitation  (9.5)
7 Merry Xmas 2017  (9.4)
8 Dawnfall V1.1  (9.4)
9 In Memoriam BHF  (9.4)
10 Dawnfall  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.4)
5 Crest  (9.3)
Top Cover Designers
1 Duce  (9.8)
2 Electric  (9.8)
3 Junkie  (9.6)
4 The Elegance  (9.4)
5 Cuc  (9.2)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.066 sec.