TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: all
from: Jim Sutemeier 70673,1754
date: 1992-10-21 14:13:21
subject: #Help with OSK M.L.

#: 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.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.