[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 Thursday, 10 January 2013 23:13:22 UTC-6, pitz  wrote:
> On Wednesday, January 9, 2013 12:08:21 AM UTC-8, BLuRry wrote:
> 
> > LEMINGS.S also has a VERIFCHECK routine in it that works differently.  Remove the JSR VERIFCHECK line in LEMINGS.S as it does not use the carry bit, but instead increments a variable elsewhere if there is a problem.  Take out the call to the verification check then there's no problem. :-)  For LEMINGS.S, it's on line 41: "JSR VERIFCHECK" -- just comment it out or remove it.
> 
> > 
> 
> > 
> 
> > 
> 
> > -B
> 
> 
> 
> I'll just extend what BLuRry started here -- and point you to how you can build your binaries.
> 
> 
> 
> First, note that Lemmings.Main.s and LEMMING.S assembles into two separate binaries.  The SEC/CLC code in Lemmings.Main.s merely passes that Carry information into code in LEMMING.S.  Additional checksum code is in LEMMING.S.
> 
> 
> 
> To minimize what you need to change, just edit the part that quits the program.  Change the following in LEMMING.S:
> 
>          LDA   VERIFLAG1  ; VERIF LEMMINGS
> 
>          BEQ   F*CK107
> 
> F*CK108  STZ   EASTERFLAG
> 
>          LDA   #$0006
> 
>          JMP   PICT2
> 
> F*CK107  LDA   VERIFLAG2   ; VERIF LEMMING
> 
>          BNE   F*CK108
> 
>          JSR   CREEDECOR1 ; CREATION DECOR
> 
> into something like:
> 
>          LDA   VERIFLAG1  ; VERIF LEMMINGS
> 
>          BRA   SAFENOW
> 
> F*CK108  STZ   EASTERFLAG
> 
>          LDA   #$0006
> 
>          JMP   PICT2
> 
> F*CK107  LDA   VERIFLAG2   ; VERIF LEMMING
> 
>          BNE   F*CK108
> 
> SAFENOW  JSR   CREEDECOR1 ; CREATION DECOR
> 
> 
> 
> One more thing: In my default installation of Merlin 8/16, the MX flags seem to be %11.  Lemmings.Main.s has an "mx %00" directive.  Add that same directive in LEMMING.S to use 16-bit operands.
> 
> 
> 
> Assemble away, and don't forget to put your generated object file (LEMMING) into the LemminGS.Data subfolder.
> 
> 
> 
> Hope this helps,
> 
> /pitz

Hi, Are you  still online? 

Did you do this and does it work? I mean have to tried it?
please let me know asap and I'll send you you're apple II GS with the
Works I'll even pay the shipping. Please email me at appleking1976@gmail.com 
asap so we can discuss this further. I know Olivier is going to do a protection free version this weekend but I'd like to learn this anyway. please email me when you read this. It's 2:07 am here and I'll be up all night and will check my email all night. please email me, also with you're shipping address.

Thank you,

Cheers, 

Bryan