text
stringlengths
0
99.6k
These changes presuppose that you have a machine-readable copy of all the
LADS subprograms (source code), since you will be creating new object code for
'dis.' The disassembler may NOT stand alone. It draws upon routines and
definitions elsewhere in LADS during assembly and execution, as do the present
modifications.
Line numbers have been arranged to merge with the published source code,
using most BASIC merge utilities. 'Disk Merge' (VIC/64), published in the
January '85 issue of Gazette, should work well. There are others on CIS. If
you do a merge, the modifications file should be designated as primary. To be
of help to the greatest number of users, I have purposely not submitted this
as a machine-specific image file. Users may elect to convert the listing from
ASCII to program with an appropriate file-conversion utility. Dan Rothwell's
'Cruncher' (Midwest Micro) is an all-ML example for the C-64; others are
available through ACCESS. If all else fails, one COULD type it in manually.
(Smile).
Commenting is intended to resolve initial questions on logic, and may be
deleted at your convenience. I suggest that you create a separate work disk
containing all the subprogram source code, leaving your master disk intact, as
published.
Questions on these modifications are always welcome via EMAIL.
25 lda #147:jsr print:jsr prntcr; clr screen, cursor to line two
161 jsr prntcr:lda #<stopmess:sta temp:lda #>stopmess:sta temp+1:jsr prntmess
162 jsr prntcr:lda #63:jsr print:ldy #0:sty y; format, punc, zero counter
163 dtm1 jsr charin
164 beq dtm1
165 cmp #13; ck for cr
166 beq dm1
167 ldy y:sta label,y:jsr print
168 iny:sty y:jmp dtm1
169 dm1 lda #0:sta label,y:jsr prntcr
170 lda #<label:sta temp:lda #>label:sta temp+1:jsr valdec
171 lda result:sta nubuf:lda result+1:sta nubuf+1
172 jsr open4; printer channel--routine resides in subprogram 'open1'
173 inc printflag; advise lads we're sending data to printer
174 ldx #4; logical file nmbr
175 jsr chkout
176 ;
190 getbyte jsr stopkey:bne goahead:jmp fin; after keyscan, interpret result
195 goahead jsr gb:sta filen
600 alldone jsr prntcr:jsr stopck:bcc alld1:jmp fin
601 ; stopck is a double-byte comparison between start & stop addrs
602 ; branch occurs if result < stop, to getbyte thru alld1. otherwise, exit
603 ; fin is lads most formal exit, at line 4390 in subprogram 'eval'
716 stopmess .byte "enter stop address":.byte 0
720 stopck sec
722 lda pmem
724 sbc nubuf
726 sta result
728 lda pmem+1
730 sbc nubuf+1
732 ora result
734 rts
750 .file dtables
755 ;
760 ;-------------------------------------------------------------------------
761 ; references
762 ;-------------------------------------------------------------------------
763 ;
764 ;the label assembler development system (lads) is documented in
765 ;
766 ;richard mansfield, second book of machine language (greensboro, nc:
767 ;compute! publications, inc., 1984)
768 ;
769 ;the c-64 rom routines are generally described in
770 ;
771 ;commodore 64 programmer's reference guide (wayne, pa: commodore business
772 ;machines, inc., 1982), pp. 272-306
DOMINARI
Nolm, is a god of greatness. He rules this world named DOLTATE' with much intellect. The world, a small but
lively one, was a battleground for great warriors who sought out to be DOMINARI (The Master.) These warriors
fought with great courage and skill. Most Dominaris would only last a few days before they were knocked off by another warrior. Deaths were expected in these
fights. But Nolm, who got tired of this after centuries of tradition, would not let this be allowed again.
One day, before a test of skill was to begin. Nolm came down from the sky as a apparatus and told the the crowd the conclusions of his thoughts. though the
people were disappointed at the gods demands. It managed to last for
four years. A growing debate about the traditions of the world exploded when two men tested their skill on each other, breaking the gods rule. But this did not
last long. The two men were immediately struck by the hand of Nolm and were thereafter frozen solid, and left there like stone art to remind the people this
was not allowed.
'This is not going to keep these people from pursuing the ultimate goal of Dominari' thought nolm Then the idea came upon him. He would create an almost
real illusionistic game to determine the Dominari who would govern the world. No one would die. They would progress each time they survived the
game. It would be a test of skill, intelligence, courage, and luck.
As of now, fifty seven Dominaris have come and gone. Vile, a powerful wizard, is the present and fifty eighth Dominari. But he is old and not likely to stay
in power long.
LOADING GAME:
To load game, place game disk in drive #8 and print 'LOAD "*",8' and press <<RETURN>>. When the computer prints 'READY,' Print 'RUN' and press <RETURN>>. Have