Changeset 1311 for trunk/tigcc/starters/pstarter.s
- Timestamp:
- 01/31/09 11:48:54 (3 years ago)
- Location:
- trunk/tigcc/starters
- Files:
-
- 1 added
- 1 moved
-
. (added)
-
pstarter.s (moved) (moved from trunk/tigcc/pstarter/pstarter.s) (5 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tigcc/starters/pstarter.s
- Property svn:executable deleted
r1307 r1311 1 | TIGCC Program Starter 2 | Copyright (C) 2004-2007 Kevin Kofler, Lionel Debroux. 1 | TI-68k Specific Program Starter ("pstarter") version 2.x. 2 | For HW1/2/3/4 TI-68k calculators running AMS 1.00-3.10 (or compatible). 3 | Copyright (C) 2004-2009 Kevin Kofler, Lionel Debroux. 4 | pstarter version 1.x was 5 | Copyright (C) 2000-2004 Thomas Nussbaumer and contributors. 3 6 | 4 7 | This launcher is free software; you can redistribute it and/or … … 154 157 | Check if the archive is valid and compute the uncompressed size 155 158 GET_UNCOMPRESSED_SIZE 159 160 | AI1/AI2 disabling 161 .ifdef disable_auto_ints 162 trap #12 163 move.w %d0,-(%sp) 164 move.w #0x0200,%sr 165 .endif 166 156 167 | Allocate the memory needed to decompress the program 157 168 | NOTE: We can't use HeapAllocPtr here because of kernel-based programs. … … 169 180 jsr (%a0) 170 181 addq.l #4,%a7 182 171 183 | Decompress the archive 172 184 MEM_TO_MEM_DECOMPRESS 173 185 186 | AI1/AI2 enabling 187 .ifdef disable_auto_ints 188 trap #12 189 move.w (%sp)+,%sr 190 .endif 174 191 175 192 | LAUNCH DECOMPRESSED PROGRAM … … 385 402 __symbol_search_loop__: 386 403 | Store failure value in %d0 387 clr.w%d0404 moveq #0,%d0 388 405 | If the SYM_ENTRY pointer is 0, quit. 389 406 move.l %a0,%d5 … … 512 529 .data 513 530 531 .even 514 532 DecompressedHandle: .word 0 | handle to free, 0 if no freeing needed 515 533 CompressedHandle: .word 0 | handle to unlock, 0 if no unlocking needed
Note: See TracChangeset
for help on using the changeset viewer.
