fred@cbmvax.cbm.UUCP (Fred Bowen) (11/17/86)
Here's the memory layout of a Koala picture, and a quick re-hash of how
to load and display the beastie on a c128 (in an ugly sort of way...):
Filename: CHR$(129)+"PIC A "+ name (padded with spaces to 15 chars)
Load address: $6000
Bitmap: $6000
VM: $7F40
CM: $8328
BG color: $8710
So, on your c128, do something like:
GRAPHIC 3,1 :REM GET A MULTICOLOR BITMAP
MONITOR :REM THE UGLY PART
>D8 FF :REM GET CONTROL OF VIC
>01 74 :REM BANK IN VIC NYBBLES
L "?PIC A *",8,2000 :REM LOAD KOALA PIC TO $2000
T 3F40 4327 01C00 :REM XFER VIDEO MATRIX DATA
T 4328 470F FD800 :REM XFER COLOR NYBBLE DATA (IGNORE ERRORS)
>01 75 :REM RESTORE NYBBLE BANKS
>D8 60 :REM RESTORE SYSTEM VIC CONTROL
Hope this helps. Thanks to Carolyn Scheppner for the Koala poop. If you
wish to split the components into separate files so that they my be loaded
per my previous posting, apply the T arguments above to the monitor S command,
remembering to add one to the ending address. If I was real industrious, I
would consider converting all these nasty picture formats to IFF ones...
--
Fred Bowen uucp: {ihnp4|seismo|caip}!cbmvax!fred
arpa: cbmvax!fred@seismo.css.GOV
tele: 215 431-9100
Commodore Electronics, Ltd., 1200 Wilson Drive, West Chester, PA, 19380