#: 16725 S12/OS9/68000 (OSK)
21-Oct-92 14:13:21
Sb: #Help with OSK M.L.
Fm: Jim Sutemeier 70673,1754
To: all
Those of you with OSK machine code knowledge, I could sure use some of your
help. I have been trying to create an icon to use with Gwindows. The code is
simple, if long, and I am getting an error when I try to compile it.
Here's the code:
use /h0/defs/oskdefs.d Edition equ 1 Typ_Lang equ (Data<<8)+Objt Attr_Rev
equ (ReEnt<<8) +0
psect substart_a,Typ_Lang,Attr_Rev,Edition,0,0 flags
dc.l %0000000000000011 busy_icon
dc.w %1111111111111111
etc,etc....rest being dc.w's
ends
I "r68 icon.a -o=icon.r" just fine with no problems. But when I "l68 -r icon.r
-o=icon"
I get the following error: code size = 1012 (0x3F4) bytes minimum of 256 bytes
requred for data area
I, unfortunately, know very little about machine code, and thusly, how to fix
this error. I suspect it is a simple fix, but I am totally lost.
Anyone can offer any help here??
Thanks!!
jim
There are 3 Replies.
|