Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #157292 : 128 Fast Boot ROMs
2017-07-19 02:23
Urban Space Cowboy

Registered: Nov 2004
Posts: 45
Release id #157292 : 128 Fast Boot ROMs

Quoting Oziphantom
You know iAN CooG's divine Fast KERNAL hack for the C64.

I for one don't! Can't find anything obvious on his entry here Ian Coog nor on his website. I know the big time-waster is RAMTAS and its byte-by-byte RAM check. There're several patches to speed it up or skip it; what other possible speedups are there?
2017-07-19 06:37
oziphantom

Registered: Oct 2014
Posts: 478
I got it from Compyx's article on Codebase
Quote:
Patching the KERNAL for faster reset

This is optional, but makes a big difference when it comes to eliminating start-up time.

When using the stock KERNAL, we must wait for about 3 seconds before sending the next command with netcat, otherwise this command is ignored by VICE. The BASIC memory test is what takes the most time, so we can patch the KERNAL to skip the memory test:

We need to store $9f in $fd69 in the KERNAL to achieve this. This cannot be done using the monitor, we need to patch the actual KERNAL file of VICE and then tell VICE to use the patched KERNAL. Patching goes something like this:

cp /usr/local/lib64/vice/C64/kernal kernal-quick-memtest
echo "1d69: 9f" | xxd -r - kernal-quick-memtest

Any method of altering a binary can be used, I prefer to do it this way, so I can stick it in a Makefile and never have to worry about whether I patched the KERNAL or not.

This makes the BASIC memtest finish almost immediately and still report the correct number of bytes free. (Thanks a lot to iAN CooG for suggesting this!)

VICE still needs to know about this new KERNAL, so the command to start VICE becomes:


http://codebase64.org/doku.php?id=base:using_a_running_vice_ses..
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
Smasher/F4CG
Airwolf/F4CG
iceout/Avatar/HF
E$G/hOKUtO fOrcE
tempest/extend
Guests online: 131
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.026 sec.