02.07.2013 Views

Amiga Computing - Commodore Is Awesome

Amiga Computing - Commodore Is Awesome

Amiga Computing - Commodore Is Awesome

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Stewart C. Russell<br />

looks at the thinking<br />

man's version of AM<br />

furniture - public<br />

domain software.<br />

Read the instructions<br />

carefully and you too<br />

could be a DIY hero<br />

with word processors,<br />

Assemblers and C<br />

Home<br />

assembly<br />

time<br />

W articles I had hoped to do<br />

Hspecial<br />

features on "Build Your Own"<br />

Esystems,<br />

such as a Build Your Own<br />

N Home Business pack, or a Build Your<br />

I Own Programming system. This first<br />

stime<br />

I present the Build Your Own<br />

tAssembly<br />

Language Development kit.<br />

a<br />

Quite a lot of people want to get into<br />

assembly language programming, but<br />

r<br />

the high cost of an assembler/debugger<br />

t<br />

system either puts people off, or turns<br />

e<br />

them to piracy.<br />

d<br />

I don't (as you know) dig theft, and<br />

wit<br />

grieves me to see Kuma's K-Seka on<br />

ropen<br />

download from unscrupulous<br />

iwirlitrc<br />

bulletin boards. None of these<br />

tboards,<br />

I hasten to add, are in the UK.<br />

i The absolute minimum you need is<br />

nan<br />

editor, an assembler, a linker and a<br />

g debugger. Everyone already has a<br />

tdebugger<br />

in the shape of <strong>Commodore</strong>'s<br />

h<br />

ROM-Wack burnt into the Kickstart<br />

eROM.<br />

Unfortunately, to use ROMsWack<br />

you need a 9600 baud serial<br />

e<br />

terminal and a very large masochistic<br />

streak.<br />

You can use <strong>Commodore</strong>'s Ed, Edit<br />

(yucko !) or MEmacs as your text<br />

editor, or you can go for a slightly<br />

better one from the many available in<br />

the PD collections. Remember, you<br />

don't need (and often don't want)<br />

word-wrap, so the tiny Textra we gave<br />

away yonks ago on a cover disk is<br />

adequate.<br />

Assembler-wise, there's really only<br />

one choice. A68k, written by Charlie<br />

Gibbs, has been continuously<br />

upgraded over the last three years. It's<br />

fast, feature-filled, and free. It's a plain<br />

68000 assembler, which takes a source<br />

file on disk and writes a linkable<br />

Thrn Hex<br />

gibberish<br />

into<br />

mnemonic<br />

gibbersh<br />

with Mon<br />

Workbench Screen<br />

E PUBLIC DOMAIN E<br />

object file back.<br />

You need a linker to convert the<br />

linkable object file to an executable<br />

object. There's only one available, and<br />

that is Blink, by The Software<br />

Distillery. It's several orders of<br />

magnitude quicker than the<br />

<strong>Commodore</strong>/Metacomco Alink, and<br />

has a few extra features too.<br />

The debugger is of extreme<br />

importance. As long as an assembler<br />

and linker do actually assemble and<br />

link, you can create code. But if the<br />

debugger doesn't have as many<br />

features as possible, you may never<br />

find the subtle bug which is stopping<br />

your program from running correctly.<br />

limo Rossi's Mon v<br />

Disk - 310 is a Freeware interactive<br />

monitor 1.24 and o disassembler. n<br />

It is not, as<br />

F i s h<br />

Hmiga Monitor vl • 24 lo,AXILli%%111,11%‘%1111k%%%%%%%‘%%%%<br />

1First segment at $002078118<br />

s<br />

Segment list:<br />

I startloc endloc length<br />

0 $88287888 $882878C7 32<br />

-> m $80287888 $002878C7<br />

80207888:<br />

88287888:<br />

4288287C<br />

664E75 FR 0028788C<br />

88828884<br />

323C11805<br />

08868888 88884E71<br />

00585341 :11,.<br />

tas<br />

i012(..DXSR<br />

1-)<br />

d $88287888 $082878C7<br />

08207888 4788<br />

1182117888 287C 8828788C c l r . movea, 1 d0 I B$28788C, alli<br />

88207880 323C OM m o v e • w 11$01105<br />

; 88287884 di D958 a d d . 0 (a0)+,d8<br />

88287886 5341 s u b g . w 111,d1<br />

08207888 66F8 b n e . s $2878134<br />

00207888 4E75 r ts<br />

002078BC 8082 0004 o r 1 . 9 11584,d2<br />

8021178C8 0086 0088 o r i .0 *$88<br />

; 882078C4 8888 7 ? ?<br />

8824178C6 4(71 0 0 1 )<br />

d6 -) r<br />

PC=882078118 CCR=84 X=8 N=8 2=1 V=8 C=8<br />

D0=8888081E D1=08888088 D2=00808888 D3=80888888<br />

D4=80088808 D5=88088888 D6=88808880 D7=08808888<br />

80=882878C6 81=88080888 82=88800808 83=80088888<br />

84=00800880 R5=88888868 86=00888880 87=01126C3C8<br />

80287888 4280 c r . ! d8<br />

-) 1<br />

AMIGA WWI 'TING November 1990 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!