home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
emulator
/
applem
/
saverom.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1995-02-27
|
590b
|
16 lines
/* Save ROM into file V0.9 */
/*
DISCLAIMER: Usage of this image file is reserved for those users who
are already in posession of an Apple ][ and thus having a legal right to
use the ROM software. This method is intended for those who lack the ability
to extract the image due to hardware shortcomings or system damage.
*/
call open(in,"APPLE/APPLSOFT.BIN")
call seek(in,6)
image=readch(in,12*1024)
call open(out,"APPLEROM",W)
say bitand(substr(image,x2d(FB0F)-x2d(D000)+1,2),,"7f"x) /* repatch */
image=overlay(bitor("][",,"80"x),image,x2d(FB0F)-x2d(D000)+1)
call writech(out,image)