**********************************
NLIB DEBUG OUTPUT BEGINS
NLIB version: 17.9
byteOrder tester=0 (big-endian)
****
Running on a m68k macintosh...
processor=5
****
os "MacOS" version: 8.10
Args:
init_fonts() called...
*** mysdl IMG_Init lying and saying we handle all formats...
*** mysdl SDL_OpenAudioDevice not implemented!
*** mysdl SDL_PauseAudioDevice not implemented!
*** mysdl SDL_CreateWindow copying mysdl_n_window...
*** mysdl SDL_SetVideoMode going to open_display...
Requesting display: 320x480x24
Going to GetGDevice()...
gdType is 0 gdMode is 131
Color mac screen has 256 colors...
Going to create_palette()...
n_display dump:
1024x768x8(8) planes=1 min/max=1/1 windowCount=0 chunky origColors 
*** mysdl SDL_SetVideoMode going to open_window...
n_palette dump:
256 colors 48-bit mapper score 
n_window dump:
308x476x8 planes=1 @0,0 chunky colors 
*** mysdl mySDL_InitSDL_Fullscreen...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=308 height=476
alloc_plane() 0: 146608 bytes.
create_image(): NOTE: indexed color
n_image dump:
308x476 d=8,np=1
@0,0
planeSize=146608 bytesPerLine=308
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
308x476 d=8,np=1
@0,0
planeSize=146608 bytesPerLine=308
chunky numColors=256 drawable updated
(back from update_image)
*** mysdl going to update_image...
update_image()...
n_image dump:
308x476 d=8,np=1
@0,0
planeSize=146608 bytesPerLine=308
chunky numColors=256 drawable updated
*** mysdl SDL_GetWindowSurface calling SDL_SetVideoMode...
*** mysdl SDL_CreateRGBSurface(0,440,224,32,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=55 height=224
alloc_plane() 0: 12320 bytes.
create_image(): NOTE: non-indexed
n_image dump:
440x224 d=32,np=1
@0,0
planeSize=12320 bytesPerLine=55
chunky no_palette drawable
Going to update_image()...
update_image()...
Warning, true color color image in update_image() not tested!
n_image dump:
440x224 d=32,np=1
@0,0
planeSize=12320 bytesPerLine=55
chunky no_palette drawable updated
(back from update_image)
*** mysdl SDL_CreateRGBSurface(0,1,1,32,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=0 height=1
alloc_plane() 0: 0 bytes.
create_image(): NOTE: non-indexed
n_image dump:
1x1 d=32,np=1
@0,0
planeSize=0 bytesPerLine=0
chunky no_palette drawable
Going to update_image()...
update_image()...
Warning, true color color image in update_image() not tested!
n_image dump:
1x1 d=32,np=1
@0,0
planeSize=0 bytesPerLine=0
chunky no_palette drawable updated
(back from update_image)
*** mysdl IMG_Load('c64font.png')...
*** mysdl actually using 'c64font.pcx'...
get_image_size("c64font.pcx")...
magic is: 10 5 1 8
load_pcx_info("c64font.pcx")...
Size: 8,2048
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() bitmapType is 1
read_image("c64font.pcx")...
Will load_image_info()...
load_image_info("c64font.pcx")...
load_image_private("c64font.pcx")...
(info is TRUE)
magic is: 10 5 1 8
load_pcx_info("c64font.pcx")...
Size: 8,2048
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() *bitmapType is 1
(back from load_image_info...)
read_image: bitmapType is 1
Will create_image()...
create_image()...
bytesPerLine=8 height=2048
alloc_plane() 0: 16384 bytes.
create_image(): NOTE: indexed color
n_image dump:
8x2048 d=8,np=1
@0,0
planeSize=16384 bytesPerLine=8
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
8x2048 d=8,np=1
@0,0
planeSize=16384 bytesPerLine=8
chunky numColors=256 drawable updated
(back from update_image)
(back from create_image...)
Will load_image()...
load_image("c64font.pcx")...
load_image_private("c64font.pcx")...
(passed im)
magic is: 10 5 1 8
load_pcx("c64font.pcx")...
N_BITMAP_CHUNKY
(hdr.bytesperline=8)
(d=8 planes=1)
handle_pcx_body()...
h=2048 d=1 bpl=8 totalGuess=16384
Read 10711 bytes into temp buf.
tempTotal=16384 bpl=8
(about to free)
(pcx decoding done)
handle_pcx_cmap()...
Back from load_pcx() im->bitmapType is 1
(back from load_image...)
read_image: im->bitmapType is 1
Will convert_image()...
convert_image()...
(palette matching not implemented!)
(Going to call palette_24_to_48()...)
(convert_image done)
n_image dump:
8x2048 d=8,np=1
@0,0
planeSize=16384 bytesPerLine=8
chunky numColors=256 drawable updated
n_window dump:
308x476x8 planes=1 @0,0 chunky colors 
(convert_image successful)
Will update_image()...
update_image()...
(back from update_image...)
Doing extra set_palette...
Attempted set locked d color0
Attempted set locked d color255
(read_image done)
*** mysdl SDL_CreateRGBSurface(0,8,2048,8,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=8 height=2048
alloc_plane() 0: 16384 bytes.
create_image(): NOTE: indexed color
n_image dump:
8x2048 d=8,np=1
@0,0
planeSize=16384 bytesPerLine=8
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
8x2048 d=8,np=1
@0,0
planeSize=16384 bytesPerLine=8
chunky numColors=256 drawable updated
(back from update_image)
*** mysdl IMG_Load('tilesalpha.png')...
*** mysdl actually using 'tilesalpha.pcx'...
get_image_size("tilesalpha.pcx")...
magic is: 10 5 1 8
load_pcx_info("tilesalpha.pcx")...
Size: 32,6072
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() bitmapType is 1
read_image("tilesalpha.pcx")...
Will load_image_info()...
load_image_info("tilesalpha.pcx")...
load_image_private("tilesalpha.pcx")...
(info is TRUE)
magic is: 10 5 1 8
load_pcx_info("tilesalpha.pcx")...
Size: 32,6072
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() *bitmapType is 1
(back from load_image_info...)
read_image: bitmapType is 1
Will create_image()...
create_image()...
bytesPerLine=32 height=6072
alloc_plane() 0: 194304 bytes.
create_image(): NOTE: indexed color
n_image dump:
32x6072 d=8,np=1
@0,0
planeSize=194304 bytesPerLine=32
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
32x6072 d=8,np=1
@0,0
planeSize=194304 bytesPerLine=32
chunky numColors=256 drawable updated
(back from update_image)
(back from create_image...)
Will load_image()...
load_image("tilesalpha.pcx")...
load_image_private("tilesalpha.pcx")...
(passed im)
magic is: 10 5 1 8
load_pcx("tilesalpha.pcx")...
N_BITMAP_CHUNKY
(hdr.bytesperline=32)
(d=8 planes=1)
handle_pcx_body()...
h=6072 d=1 bpl=32 totalGuess=194304
Read 16384 bytes into temp buf.
Read 16384 bytes into temp buf.
Read 16384 bytes into temp buf.
Read 16384 bytes into temp buf.
Read 16384 bytes into temp buf.
Read 9504 bytes into temp buf.
tempTotal=194304 bpl=32
(about to free)
(pcx decoding done)
handle_pcx_cmap()...
Back from load_pcx() im->bitmapType is 1
(back from load_image...)
read_image: im->bitmapType is 1
Will convert_image()...
convert_image()...
(palette matching not implemented!)
(Going to call palette_24_to_48()...)
(convert_image done)
n_image dump:
32x6072 d=8,np=1
@0,0
planeSize=194304 bytesPerLine=32
chunky numColors=256 drawable updated
n_window dump:
308x476x8 planes=1 @0,0 chunky colors 
(convert_image successful)
Will update_image()...
update_image()...
(back from update_image...)
(read_image done)
*** mysdl SDL_CreateRGBSurface(0,32,6072,8,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=32 height=6072
alloc_plane() 0: 194304 bytes.
create_image(): NOTE: indexed color
n_image dump:
32x6072 d=8,np=1
@0,0
planeSize=194304 bytesPerLine=32
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
32x6072 d=8,np=1
@0,0
planeSize=194304 bytesPerLine=32
chunky numColors=256 drawable updated
(back from update_image)
*** mysdl IMG_Load('introscreen.png')...
*** mysdl actually using 'introscreen.pcx'...
get_image_size("introscreen.pcx")...
magic is: 10 5 1 8
load_pcx_info("introscreen.pcx")...
Size: 320,200
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() bitmapType is 1
read_image("introscreen.pcx")...
Will load_image_info()...
load_image_info("introscreen.pcx")...
load_image_private("introscreen.pcx")...
(info is TRUE)
magic is: 10 5 1 8
load_pcx_info("introscreen.pcx")...
Size: 320,200
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() *bitmapType is 1
(back from load_image_info...)
read_image: bitmapType is 1
Will create_image()...
create_image()...
bytesPerLine=320 height=200
alloc_plane() 0: 64000 bytes.
create_image(): NOTE: indexed color
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
(back from update_image)
(back from create_image...)
Will load_image()...
load_image("introscreen.pcx")...
load_image_private("introscreen.pcx")...
(passed im)
magic is: 10 5 1 8
load_pcx("introscreen.pcx")...
N_BITMAP_CHUNKY
(hdr.bytesperline=320)
(d=8 planes=1)
handle_pcx_body()...
h=200 d=1 bpl=320 totalGuess=64000
Read 16384 bytes into temp buf.
Read 13560 bytes into temp buf.
tempTotal=64000 bpl=320
(about to free)
(pcx decoding done)
handle_pcx_cmap()...
Back from load_pcx() im->bitmapType is 1
(back from load_image...)
read_image: im->bitmapType is 1
Will convert_image()...
convert_image()...
(palette matching not implemented!)
(Going to call palette_24_to_48()...)
(convert_image done)
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
n_window dump:
308x476x8 planes=1 @0,0 chunky colors 
(convert_image successful)
Will update_image()...
update_image()...
(back from update_image...)
(read_image done)
*** mysdl SDL_CreateRGBSurface(0,320,200,8,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=320 height=200
alloc_plane() 0: 64000 bytes.
create_image(): NOTE: indexed color
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
(back from update_image)
*** mysdl IMG_Load('gamescreen.png')...
*** mysdl actually using 'gamescreen.pcx'...
get_image_size("gamescreen.pcx")...
magic is: 10 5 1 8
load_pcx_info("gamescreen.pcx")...
Size: 320,200
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() bitmapType is 1
read_image("gamescreen.pcx")...
Will load_image_info()...
load_image_info("gamescreen.pcx")...
load_image_private("gamescreen.pcx")...
(info is TRUE)
magic is: 10 5 1 8
load_pcx_info("gamescreen.pcx")...
Size: 320,200
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() *bitmapType is 1
(back from load_image_info...)
read_image: bitmapType is 1
Will create_image()...
create_image()...
bytesPerLine=320 height=200
alloc_plane() 0: 64000 bytes.
create_image(): NOTE: indexed color
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
(back from update_image)
(back from create_image...)
Will load_image()...
load_image("gamescreen.pcx")...
load_image_private("gamescreen.pcx")...
(passed im)
magic is: 10 5 1 8
load_pcx("gamescreen.pcx")...
N_BITMAP_CHUNKY
(hdr.bytesperline=320)
(d=8 planes=1)
handle_pcx_body()...
h=200 d=1 bpl=320 totalGuess=64000
Read 5932 bytes into temp buf.
tempTotal=64000 bpl=320
(about to free)
(pcx decoding done)
handle_pcx_cmap()...
Back from load_pcx() im->bitmapType is 1
(back from load_image...)
read_image: im->bitmapType is 1
Will convert_image()...
convert_image()...
(palette matching not implemented!)
(Going to call palette_24_to_48()...)
(convert_image done)
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
n_window dump:
308x476x8 planes=1 @0,0 chunky colors 
(convert_image successful)
Will update_image()...
update_image()...
(back from update_image...)
(read_image done)
*** mysdl SDL_CreateRGBSurface(0,320,200,8,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=320 height=200
alloc_plane() 0: 64000 bytes.
create_image(): NOTE: indexed color
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
(back from update_image)
*** mysdl IMG_Load('gameover.png')...
*** mysdl actually using 'gameover.pcx'...
get_image_size("gameover.pcx")...
magic is: 10 5 1 8
load_pcx_info("gameover.pcx")...
Size: 320,200
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() bitmapType is 1
read_image("gameover.pcx")...
Will load_image_info()...
load_image_info("gameover.pcx")...
load_image_private("gameover.pcx")...
(info is TRUE)
magic is: 10 5 1 8
load_pcx_info("gameover.pcx")...
Size: 320,200
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() *bitmapType is 1
(back from load_image_info...)
read_image: bitmapType is 1
Will create_image()...
create_image()...
bytesPerLine=320 height=200
alloc_plane() 0: 64000 bytes.
create_image(): NOTE: indexed color
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
(back from update_image)
(back from create_image...)
Will load_image()...
load_image("gameover.pcx")...
load_image_private("gameover.pcx")...
(passed im)
magic is: 10 5 1 8
load_pcx("gameover.pcx")...
N_BITMAP_CHUNKY
(hdr.bytesperline=320)
(d=8 planes=1)
handle_pcx_body()...
h=200 d=1 bpl=320 totalGuess=64000
Read 15183 bytes into temp buf.
tempTotal=64000 bpl=320
(about to free)
(pcx decoding done)
handle_pcx_cmap()...
Back from load_pcx() im->bitmapType is 1
(back from load_image...)
read_image: im->bitmapType is 1
Will convert_image()...
convert_image()...
(palette matching not implemented!)
(Going to call palette_24_to_48()...)
(convert_image done)
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
n_window dump:
308x476x8 planes=1 @0,0 chunky colors 
(convert_image successful)
Will update_image()...
update_image()...
(back from update_image...)
(read_image done)
*** mysdl SDL_CreateRGBSurface(0,320,200,8,...)...
*** mysdl mySDL_InitSDL_Surface()...
*** mysdl mySDL_InitSDL_Surface_format()...
create_image()...
bytesPerLine=320 height=200
alloc_plane() 0: 64000 bytes.
create_image(): NOTE: indexed color
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
320x200 d=8,np=1
@0,0
planeSize=64000 bytesPerLine=320
chunky numColors=256 drawable updated
(back from update_image)
*** mysdl IMG_Load('items.png')...
*** mysdl actually using 'items.pcx'...
get_image_size("items.pcx")...
magic is: 10 5 1 8
load_pcx_info("items.pcx")...
Size: 48,126
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() bitmapType is 1
read_image("items.pcx")...
Will load_image_info()...
load_image_info("items.pcx")...
load_image_private("items.pcx")...
(info is TRUE)
magic is: 10 5 1 8
load_pcx_info("items.pcx")...
Size: 48,126
hdr.nPlanes=1 hdr.bpp=8
d=8 np=1
bitmapType=1
version=5 paletteinfo=1
Back from load_pcx_info() *bitmapType is 1
(back from load_image_info...)
read_image: bitmapType is 1
Will create_image()...
create_image()...
bytesPerLine=48 height=126
alloc_plane() 0: 6048 bytes.
create_image(): NOTE: indexed color
n_image dump:
48x126 d=8,np=1
@0,0
planeSize=6048 bytesPerLine=48
chunky numColors=256 drawable
Going to update_image()...
update_image()...
n_image dump:
48x126 d=8,np=1
@0,0
planeSize=6048 bytesPerLine=48
chunky numColors=256 drawable updated
(back from update_image)
(back from create_image...)
Will load_image()...
load_image("items.pcx")...
load_image_private("items.pcx")...
(passed im)
magic is: 10 5 1 8
load_pcx("items.pcx")...
N_BITMAP_CHUNKY
(hdr.bytesperline=48)
(d=8 planes=1)
handle_pcx_body()...
h=126 d=1 bpl=48 totalGuess=6048
tempTotal=6048 bpl=48

ERROR! dOffset=6049 totalGuess=6048
handle_pcx_body() error #3
*** n_exit_string...
Buffer under-read error!

close_nlibs()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_palette()...
free_image()...
free_image()...
free_image()...
free_palette()...
close_window()...
free_palette()...
close_display()...
free_palette()...
(close_nlibs done)
debug_shutdown()...
NLIB DEBUG OUTPUT ENDS
**********************************
