| |
Krill
Registered: Apr 2002 Posts: 2982 |
Release id #209982 : Transwarp v0.82
General Q&A thread, also report problems and error logs here. |
|
... 70 posts hidden. Click here to view all posts.... |
| |
Zaphod
Registered: Jun 2012 Posts: 63 |
hmm. plush packer specifies a jmp address. which won't start a basic program, will it? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11391 |
try $a7ae |
| |
Krill
Registered: Apr 2002 Posts: 2982 |
Quoting Zaphodhmm. plush packer specifies a jmp address. which won't start a basic program, will it? JMP to a routine like this. You probably won't need the part before the JSRs, though, these pointers should be in a good-enough state after loading. |
| |
Zaphod
Registered: Jun 2012 Posts: 63 |
gah! i understood exomiser just fine. plush packer doesn't provide a sys line with the packed program, so i can't even get that far. i think a better approach would be hiding an assembler fragment just before or just after the logo something like
JSR $4000
LDA #00
STA $D400
STA $D401
STA $D407
STA $D408
STA $D40e
STA $D40f
JSR LOAD"COPYRIGHT 1985",8 ; need example here
JMP sysline of COPYRIGHT 1985 ; i can do this part myself
then i can just g-pack that and specify the new routine as the start address. |
| |
Krill
Registered: Apr 2002 Posts: 2982 |
Quoting Zaphodplush packer doesn't provide a sys line with the packed program Save to $080d, then reset, then "2021 SYS2061", then load the packed program and save from $0801 to end of packed program. |
| |
Comos
Registered: May 2004 Posts: 73 |
Quoting Zaphodexomizer's decrunch table clobbers the vectors, which are the RESTORed after.
Exo's decrunch table starts by default @ $033C, so the vector table ($0314-$0333} is not touched during depack.You can also relocate the decrunch tabke via "-Di_table_addr=<address>" to suit your needs. |
| |
Zaphod
Registered: Jun 2012 Posts: 63 |
it still touched the vectors, though. do you know how to tell it not to?
i know it's not the logo routine because if i tw load something, then monitor load both parts in, it works. |
| |
Krill
Registered: Apr 2002 Posts: 2982 |
Quoting ComosExo's decrunch table starts by default @ $033C, so the vector table ($0314-$0333} is not touched during depack. Transwarp has a bunch of routines north of $02a6 and up to $0400, minus the software vectors at $0300-$0334.
These routines are required to switch memory configuration etc., as most of the resident code lives somewhere at $d000 to end of RAM below the hardware vectors. |
| |
Zaphod
Registered: Jun 2012 Posts: 63 |
okay, anyone know how the @$@ to write a filename into memory in the vice monitor? :) |
| |
Comos
Registered: May 2004 Posts: 73 |
Quoting Zaphodit still touched the vectors, though. do you know how to tell it not to?
i know it's not the logo routine because if i tw load something, then monitor load both parts in, it works.
Please then elaborate,what exactly happens.You mean just one vector is tampered or more of them? Normally if this would be happening, then none of the releases would work example on IDE64 or other carts which depend on their custom vectors regarding I/O. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - Next |