#: 4222 S10/Tandy CoCo
10-Jun-90 13:49:13
Sb: #pictures
Fm: Darrell Coffey 76106,767
To: all
help!
I'm currently designing a new program for a bussiness application, and my main
menu and the other's are getting to where the graphic's they have to draw
on-boot up in each of the windows are knocking up a lot of time.
So I decided that loading them from disk would be the best method, no such
luck.
the best way I found to save and load the pictures are in 4 8k buffers.
(Can you make a 32k buffer so you don't have to split it up?)
then I tried to use the os9 call SS.MpGPB (Function code $84)
I opened a path to the window (/w7 a 32k 640 x 200 4 color)
set the a register to the path
set the b register to $84
set the x register to $0101 (High group byte, log buffer byte)
set the y register to 1 for map buffer
run syscall ($84,regs)
and all I get back is a set of negative numbers in the x,y registers.
Am I missing something important?
Is theyre a better way to get the window screen location for each window?
is there a better way to Save/Load a picture to/from a disk?
any help greatly appreciated!
Darrell Coffey
There are 2 Replies.
|