[Coco] Trivia Fever

Bill Pierce ooogalapasooo at aol.com
Sat Feb 22 09:53:53 EST 2014


Rogelio,
I just disassembled the "kbdhack" module and it links to CCIO, patches a few bytes after saving the original values. Then it seems to set the clock with a value of zero. Seeding the timer maybe?
It would take a disassembly of L1V2 CCIO to tell what is being patched. I'm pretty sure the v1 & v2 CCIOs are slightly different hence the failure. The "kbdhack" seems to be the only mod.
Of course I'm working from the disk images from the archive, so I don't know how "accurate" they are as far as duplicating any possible "copy protection" that may be on the original disks.
What seems to be going on (from an old diassembly of L1 CCIO from the repo) "kbdhack" if setting up a new IRQ and then resetting the time via F$STIME. So it makes me wonder if the whole patch involves setting up the game timer using the system clock.
There's another patch section at the end of the listing but it's never called and I'm wondering if this is the reverse code for resetting the patch after you exit the game to return OS9 to normal, hence the "saving" of the original values before patching. The IRQ patch may point to this routine so it runs on exit(??). The address of this section is part of the patch.

All-in-all, the whole thing is really small and just a few lines of code, so it's not making any "major" changes.
If this is all that's being done, there should be a way to modify it to work on L1V2. It would take good disassemblies of both L1V1 & L1V2 CCIOs to adjust the xx,y values being altered to point to the proper place. The original source probably would have assembled properly for either version given the proper OS9DEFS file as the source most likely referred to the symbols in the defs for the patching if written properly


Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
 

My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com




-----Original Message-----
From: Rogelio Perea <os9dude at gmail.com>
To: coco <coco at maltedmedia.com>
Sent: Sat, Feb 22, 2014 8:25 am
Subject: Re: [Coco] Trivia Fever


On Sat, Feb 22 2014, Willard Goosey wrote:

AFAIK Trivia Fever will only run under L1v1.
>

I suspect that is pretty much how things are with TF. Tried to snoop
something out as suggested by Bill but didn't get much of the
just-beneath-the-surface study I did: there is this object file that seems
to do a "hack" into the system... I suspect that's one of the last things
loaded - spells trouble. Bed time snuck up on me late last night and
surrendered with TF (someone said it comes with age).

Thanks for the feedback!.


-- RP

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco

 



More information about the Coco mailing list