[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Free Apple II GS With The Works to Help with LemminGS Source Code



On Tuesday, 8 January 2013 23:27:19 UTC-6, BLuRry  wrote:
> On Tuesday, January 8, 2013 11:19:48 PM UTC-6, applek...@gmail.com wrote:
> 
> > On Tuesday, 8 January 2013 22:56:24 UTC-6, BLuRry  wrote:
> 
> > 
> 
> > > On Tuesday, January 8, 2013 10:34:18 PM UTC-6, applek...@gmail.com wrote:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Hi everbody, 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I'm Bryan Gates and NO I'm not related to Bill Gates lol.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I'm new here and there are a lot of good post on here.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I recently read the cookiecritters post about the LemminGS
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Source Code and I have downloaded it from brutal deluxe site.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I have the same problem. I'm not that good in assembly but
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I know how to assemble and link. I will give anyone a Free
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Real Apple II GS with 100 Disk 4 Disk Drives, Hard Drive
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > and an Apple Works II Printer with extra ink to remove
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > the protection within the source code. and then send me
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > the modified 2mg source code image.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > If you're interested reply back on here.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I'm in the Central Time Zone Area and it's
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 10:33pm here but I'll be up all night and will
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > check this post all night.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Thanks for your time, 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Best Regards, 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Bryan Gates
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > I'll do it for free...  or at least for a //gs expansion ram card.  (no, kidding, I'll do it for free really)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > This is a guess because 1) I don't speak French and 2) I don't feel like compiling everything to verify it but:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 1) Open LEMMINGS.MAIN.S
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 2) Replace lines 1694-1726 with the following:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > VERIFCHECK CLC          ; TOUT EST OK
> 
> > 
> 
> > > 
> 
> > 
> 
> > >           RTS
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > -B
> 
> > 
> 
> > 
> 
> > 
> 
> > HI there, Is that replace lines 1696 through 1726 or just line 1696?
> 
> > 
> 
> > I tried but It didn't work. I'll give you any parts you want if you can
> 
> > 
> 
> > do it and send me the 2mg  file to verify it. I'll even throw in 2 GS Expansion Ram Cards. 
> 
> > 
> 
> > 
> 
> > 
> 
> > Please let me know ASAP.
> 
> > 
> 
> > 
> 
> > 
> 
> > Thank you, 
> 
> > 
> 
> > 
> 
> > 
> 
> > Best Regards, 
> 
> > 
> 
> > 
> 
> > 
> 
> > Bryan Gates
> 
> 
> 
> Sorry -- that was a typo... 1694 not 1696.
> 
> 
> 
> Remove everything (and including) the line:
> 
> VERIFCHECK STZ VERIFCHECK3+1 ; LONGUEUR A VERIFIER
> 
> 
> 
> which should be 1694 all the way through (and also including) line 1726:
> 
>           RTS
> 
> 
> 
> Then replace it with:
> 
> VERIFCHECK CLC
> 
>           RTS
> 
> 
> 
> Theory of operation:
> 
> 
> 
> The fastest way to do a checksum is to XOR a set of bytes together, possibly doing some sort of manipulation along the way so that you get a different checksum for a set of 4 zeros than you would for a set of 5 zeros.  At any rate, I just searched for "EOR" in the code which is the 6502/65816 opcode for XOR.  It only appears in this routine.  At the end, it appears to either set the carry bit (SEC) if the checksum doesn't match or clear the carry bit (CLC) if the checksum is OK.
> 
> 
> 
> Unless the source comments are intentionally misdirecting the reader (because obfuscation is fun), replacing the routine with a simple CLC (to clear the carry bit) and RTS (to return back) should gut out the CRC check.  Thanks to Antoine for the hint about CRC.  Indeed, having the source is very telling. The only other thing I can think of doing is padding the area with zero's to fill in the gap left behind.  It really shouldn't matter though.
> 
> 
> 
> -B

Hi did you see my last post ?

Please Reply ASAP.

Thank you, 

Bryan Gates