| |
Krill
Registered: Apr 2002 Posts: 2845 |
Keeping a few bits of information in a hostile environment
If not reserving space in RAM, where would read-writable data be most likely to survive throughout the run-time of any random demo or game?
$D800-$DC00 is often overwritten entirely, $00/$01 in RAM are too cumbersome to access.
$DD03 (parallel port data direction register) might be good, or maybe the 2x4 CIA TOD registers at $DC08 and $DD08.
Or are they? What else could be usable for that purpose? =) |
|
... 76 posts hidden. Click here to view all posts.... |
| |
Zibri Account closed
Registered: May 2020 Posts: 304 |
Quoting CruzerHad to look up heuristics, and found this very useful definition...
lol for the "useful definition", anyway:
Heuristic comes from ancient greek and it's root is the verb EURISKO which means "to find".
A heuristic algorithm is a non deterministic one, is an algorithm, usually slower but sometimes needed, which employs a search function for a predetermined pattern or behaviour. Our brain for example uses both but mainly the heuristic method.
In short, any heuristic program or line of thought, basically does an "educated guess". |
| |
Krill
Registered: Apr 2002 Posts: 2845 |
The better your heuristics, the more (H)EUREKA! moments you'll have. |
| |
Krill
Registered: Apr 2002 Posts: 2845 |
Meanwhile, i have actually managed to query drivetype before uploading the appropriate piece of custom code. =)
All without any extra code on 1541 side or in the resident loader portion.
So no hiding nor manual shuffling-around of those two bits required. \=D/ |
| |
JackAsser
Registered: Jun 2002 Posts: 1989 |
Quote: Meanwhile, i have actually managed to query drivetype before uploading the appropriate piece of custom code. =)
All without any extra code on 1541 side or in the resident loader portion.
So no hiding nor manual shuffling-around of those two bits required. \=D/
Ossom!! |
| |
Copyfault
Registered: Dec 2001 Posts: 466 |
Quoting KrillMeanwhile, i have actually managed to query drivetype before uploading the appropriate piece of custom code. =)
All without any extra code on 1541 side or in the resident loader portion.
So no hiding nor manual shuffling-around of those two bits required. \=D/ This is worth a huge HOORAY!!!
Kudos for getting it done... and thanks for putting effort into it.
Shall I use that "most elegant"-phrase more often ;) ?? |
| |
Zibri Account closed
Registered: May 2020 Posts: 304 |
Quote: The better your heuristics, the more (H)EUREKA! moments you'll have.
Precisely.
Eureka comes from the same verb (Eurisko) and it's the first person of the past tense: Literally: "I FOUND [it]" :D |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 - Next |