ATARI HOME
Introduction
Definitions
Disk Contents
Starting SOURCGEN
Symbol-Table & Editor
Generating Source Code
- from an SMB file
- for the ATARI OS
Creating SMB files
The Function Keys
The Functions A - U
A. ADDR/symb search
B. BYTE-change
C. CODE-search
D. DELETE symbols
E. EDIT
F. FILE
G. GO
H. HEAD
I. INDEX
J. JUNK?
K. KEY (0..9)
L. LIST symbols
M. MINIMUM-label
N. NEW
O. OBTAIN symbols
P. PREPARE labels
Q. QUIT (1)
R. RE-ADDRESS
S. SAVE symbols
T. TRACE
U. UTILITY (V. 3.2)
The Fram-disk
Output Menu
Error Messages
Reference card
New in V.3.2
|
Generating a Source Code Listing from an SMB-File
- If the file for which you wish to generate a listing is on disk, hit
<F> and enter the filename.
(See F. FILE). The file will open - it must
be a LOAD-File - and the addresses of the segments of the file will
be displayed.
If the program you want the listing for is in RAM you may first have
to hit <F> and enter FF to close an open file.
- Use O. OBTAIN symbols to load the corresponding
SMB-File into the symbol-table.
- Hit <P> (PREPARE labels), type an
address range (often the start-address will suffice), and hit <RETURN>.
SOURCGEN will now take a little while to enter the addresses of all
the necessary labels into its internal tables. This process is complete
when '?' reappears at the bottom of the screen.
- Use H. HEAD to generate the complete source-code
listing and save it to disk.
Example: ( V.3.2)
- Hit <F>
, type FRAMDISK
and hit <RETURN>
- Hit <O>
, type FRAMDISK
and hit <RETURN>
Hit <Y>
- Hit <P>
, type 600
and hit <RETURN>
- Hit <H>
, type 600 573
and hit <RETURN>
After about three seconds the source code listing to FRAMDISK
will start scrolling down the screen.
If you are using the fantastic Atari emulator Atari800Win,
try the following:
Hit <Alt>-<e>
and check "Enable P: patch for printer device" and "Use
alternative pint Command".
Make sure "Notepad %s" is typed
in in the next line. Click <OK>.
Now Hit <H>
, type 600 573
A/P: and hit <RETURN>
After about six seconds, NotePad will open with the source code to FRAMDISK.
As you see, Atari800Win
opens great possibilities for the work with SOURCGEN.
|