?pathlinks? – Rev 930
Rev 635 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| Download
| RSS feed
| ?url?
;LAST UPDATE: 16.02.2014 savelij
include ../../../rom/macros.a80
ADRWORK EQU 0X6000
UNPACKER EQU 0X5B00
ORG ADRWORK-0X11
SUM_HOB "flash_peC",ADRWORK,EBINAR-BINAR,SIZE_SECTORS
DI
LD HL,ADRWORK
PUSH HL
LD HL,DEPACK
LD DE,UNPACKER
LD BC,BINAR-DEPACK
PUSH DE
LDIR
LD HL,EBINAR-1
LD DE,0XFFFF
LD BC,EBINAR-BINAR
LDDR
LD HL,ADRWORK
EX DE,HL
INC HL
RET
DEPACK include ../../../rom/dec40.a80
BINAR binclude flash_pe_pack.rom
EBINAR
DUPL 0X100-LOW ($),0
IF (EBINAR-BINAR)&0XFF
SIZE_SECTORS EQU ((EBINAR-BINAR)>>8)+1
ELSE
SIZE_SECTORS EQU ((EBINAR-BINAR)>>8)
ENDIF