80-Bus News

  

September-October 1984, Volume 3, Issue 5











Page 39 of 47











1

PAGE

ASSEMBLER

PolyZap V2.2

PARA KEARK KARIERRE RAR RARERRERRAEREK

2

9000

39

This program is split into two portions. Firstly there is a machine code program that gathers up the data and secondly a BASIC program that processes the output and sorts the data into order. The machine code section is loaded into RAM at £1000 and executed at £1000, the user is asked to load the disk into drive 0 and press enter, this reads into RAM the directory and is a very quick operation. When all the directorys of the disks have been read in then the user presses the -ESC’ key, you are asked to insert into drive 0 the disk which will contain the completed directory file. This will be the disk containing the BASIC program. The BASIC program should then be run, it reads the file generated by the machine code programme, prints it out, sorts it into alphabetical order and prints it out again. After this it prints out the disk summary. The BASIC program is able to remove certain files name from the listings, for example all disks have the file “Exec” so there is no need to list it out. The user can change or add to lines 1260 – 1480 which is where all the unwanted file names are removed. The file produced by the machine code program can be viewed using the Polydos LIST option or changed using the EDIT facility (be careful as this may well stop the BASIC program operating correctly).

Aword of warning; as the directory data is held in RAM then there must be a limit to how many disks can be used although I have used 40 disks without any trouble. Should this be a limitation then the job should be split up into sections and the BASIC program changed to merge several files together. Alternatively change the machine code program to remove unwanted files which would significantly reduce the ammount of data in RAM.

There follows a full Assembly listing including a sorted symbol table, also a dump of the program using a modified version of the disk dump published in Vol.l issue 2 of 80-BUS NEWS (the numbers on the left hand side are the RAM locations). The BASIC program is also included.

on e “ < & R 8 z E © 3 Ke KEK K eB : f Z aa * Oo wy oO an * 3 tet eM +d a * ‘ xn ea oa Zi x of & BE e ig e g 5} x Oe oO oO ie 5 Ht x i N * oO « al ‘ * 4 NN * oO a * A i * QO a * hy Lad * eS * id wn * Pig i << fed x DOWD MUDAMA ON & MT DOOAMOROMAM © OonOoOwmwooea oe * MOM OE MOU MOOMMMOM INDO OCW OSMOMN mR NOON HOMO << : gion ’ = z = =, 2 R > R > = > > > om > > 2 Dm 2 = 2 > KKK * KX SBSBSSSSSSRBSSRBSESSSS88RB88 888 BBSSE88 em ER on om an ow EB Gd A Ge 6 ee eB ep db oo Be fa fe G2 pf po fm wn au Gy hikessstovhu zau8ae Ez ie Oe rd gg anRSESesc Sesh seeeSkussbe yaueses ted QO bed SerevoceCeC oto muta MH NON MTHNHOADRMUOOAOVHINMHDOOWOWOOWOO OceorcoOst Or one wow me oM HM HOKnNMOwWWOOMORHEH KR OKNOANA A MOSS eccoooooooooocoooeoeoceoeococoeoeooooooco ooo oe ee oo ce oo eg eoeeooecoocooocoooccoocooococ ooo coocoocooooCocooooOoOcoOCOCoOOoOLD

on en en

0000 0008

000c

£08 £0C

BACKSP EQU CLEAR

CRET ESC

EQU EQU EQU

£0D £1B

000D OO1B


This is an OCR’d version of the scanned page and likely contains recognition errors.











Page 39 of 47