Things I can talk about at the FORTH meeting

Last Up date: 2007 October 2
This Page started on: 2007 October 02 09:18:47

This is a list of things I can talk about at the FORTH meeting on 22nd Sept.

Graphical proof of pythagorean theorem
Graphical proof Area of a circle is Pi(r^2)
Tools needed for Assembly Language programming.
        An Assembler (I like A86 by Eric Isaacson)
        A description of the processor instructions
        A description of the operating system functions
        Several tools such as:
                A good editor (I customized SemWare's Junior Editor under DOS
                        Worth it just for the spelling checker)
                A Debug facility (DEBUG comes with MicroSoft Windows ??)
                A File Dump routine (Include my DUMP.COM)
                A File Compare program (SUPERC contact me about)
                A program to read the computer clock (for timing)
Programs I want to use or demonstrate:
DT      Prints Date & Time optional text after DT on command line
HELLO
PAN     Phone Alpha to telephone number
SX & SXS  Sequence Extender (SXS shows steps--more for debugging.)
NP3     New Prime number generator--uses 386 32-bit registers.
        Features:
        Outputs 1 byte for each prime
                Use KCHAR and DUMP to show.
                Don't test multiples of 2 or 3
                P & Q Tables
                DS and ES are separate 64K Segments. SS is 1000 bytes higher
                For speed Q is in ES & P in DS at same address
                The first 4000 hex bytes of ES is the output buffer
                Put value being tested at top of Q
                Don't need low order bit
                At any point in time the high bits are all the same

PPN Print Prime Numbers to display in decimal, variable number of columns.
PGC Print the Count of Gaps between consecutive primes
PPT Print Prime Twins (only the last of the two)
KCHAR (Keeps first n characters of a file)
DUMP (Displays a file in Hex and ASCII)

 Directory of my prime programs as of:
        2007-09-20 Ordered by Size

HELLO    COM            21 01-10-29   15.49
PAN      COM            82 04-05-19   19.01
KCHAR    COM           342 93-11-19   11.24
DT       COM           394 98-11-01   15.53
PGC      COM           402 07-09-20   11.51
PPN      COM           572 07-08-23   20.40
PPT      COM           576 07-08-29   16.59
DUMP     COM           576 01-12-02    9.23
SXS      COM           702 02-08-21   18.17
SX       COM           704 02-08-21   18.14
NP3      COM           884 07-09-04    6.32
       11 file(s)          5 255 bytes
--------------------------------
Quick notes added to help with programs.
To get "tiny help" TYPE any of the .com files except: HELLO.COM & PAN.COM

The .8 and .S8 files are source , however I use ` names to drop in
"boiler-plate" to help understand it a little better I have included
PGC.8 which has everything expanded.

A86 allows local labels, which can be re-used. They are a single letter
followed by a number. A forward reference is preceded with a > without
it it is a backward reference.

Lastly here is a directory of what is in the .ZIP file ordered by extension.
-------------------------------------------
PKUNZIP (R)    FAST!    Extract Utility    Version 2.04g  02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Registered version
PKUNZIP Reg. U.S. Pat. and Tm. Off.

 80486 CPU detected.
 EMS version 4.00 detected.
 XMS version 3.00 detected.
 DPMI version 0.90 detected.

Searching ZIP: FORTH.ZIP

 Length  Method   Size  Ratio   Date    Time   Name
 ------  ------   ----- -----   ----    ----   ----
     88  DeflatN     81   8%  09-21-05  08:39  HELLO.8
    859  DeflatN    553  36%  09-21-05  08:41  PAN.8
   5002  DeflatN   2407  52%  09-25-07  11:54  PGC.8
    394  Stored     394   0%  11-01-98  15:53  DT.COM
    576  DeflatN    541   7%  12-02-01  09:23  DUMP.COM
     21  Stored      21   0%  10-29-01  15:49  HELLO.COM
    342  Stored     342   0%  11-19-93  11:24  KCHAR.COM
    918  DeflatN    831  10%  10-01-07  10:32  NP3.COM
     82  Stored      82   0%  05-19-04  19:01  PAN.COM
    402  Stored     402   0%  09-20-07  11:51  PGC.COM
    572  DeflatN    559   3%  08-23-07  20:40  PPN.COM
    576  DeflatN    561   3%  08-29-07  16:59  PPT.COM
    704  DeflatN    667   6%  08-21-02  18:14  SX.COM
    702  DeflatN    664   6%  08-21-02  18:17  SXS.COM
   6180  DeflatN   2820  55%  10-01-07  10:19  NP3.S8
   2748  DeflatN   1387  50%  09-20-07  11:51  PGC.S8
   4309  DeflatN   1976  55%  08-23-07  20:40  PPN.S8
 ------          ------  ---                   -------
  24475           14288  42%                        17

Since the talk I have made a few enhancements to NP3 (to make it display the same character until it has extended the Q-table 256 times, and doubled the size of primes it can output.) and possibly PPN.


You can: E-mail me or Click on the phone numbers for my BIO:

Go to: My Home Page My phone #'s Go to: This page TOP