home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / 6502 / 6502SIM.LBR / ZXTABLES.DQC / ZXTABLES.DOC
Text File  |  2000-06-30  |  4KB  |  144 lines

  1. ZX65: Simulating a Micro                    Page T1
  2.  
  3.  
  4.                 *** TABLE 1 ***
  5.  
  6.     Functions which ZX65 requires of the host system, and their
  7.     locations within the interpreter.
  8.     -----------------------------------------------------------
  9.  
  10.     FUNCTION                    ADDRESS
  11.     --------                    -------
  12.  
  13. 1.    Test console input status --------------------- 7A2EH
  14.  
  15. 2.    Get single character from console ------------- 7A2BH
  16.  
  17. 3.    Send single character to console -------------- 7A28H
  18.  
  19. 4.    Select disk drive (A or B) -------------------- 7A34H
  20.  
  21. 5.    Home R/W head of selected drive --------------- 7A31H
  22.  
  23. 6.    Set disk transfer buffer address -------------- 7A3DH
  24.  
  25. 7.    Set sector number for next disk access -------- 7A37H
  26.  
  27. 8.    Set track number for next disk access --------- 7A3AH
  28.  
  29. 9.    Read one sector from selected drive ----------- 7A40H
  30.  
  31. 10.    Write one sector to selected drive ------------ 7A43H
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. ZX65: Simulating a Micro                    Page T2
  40.  
  41.  
  42.                 *** TABLE 2 ***
  43.  
  44.     6502/Z80 parameter passing to/from user subroutines.
  45.     ----------------------------------------------------
  46.  
  47.  
  48.         6502 Register    Passed as    Z80 Register
  49.         -------------            ------------
  50.  
  51.         Accumulator ------------------- Accumulator
  52.  
  53.         X Index ----------------------- B Register
  54.  
  55.         Y Index ----------------------- C Register
  56.  
  57.  
  58.  
  59.  
  60. ZX65: Simulating a Micro                    Page T3
  61.  
  62.                 *** TABLE 3 ***
  63.  
  64.  
  65.     Locations for "BRK" vector and user subroutine table.
  66.     -----------------------------------------------------
  67.  
  68.     Description        Address of vector/jump
  69.     -----------        ----------------------
  70.  
  71.     BRK Vector ------------ 7A55H
  72.  
  73.     User 0 ----------------    7A46H
  74.  
  75.     User 1 ---------------- 7A49H
  76.  
  77.     User 2 ---------------- 7A4CH
  78.  
  79.     User 3 ---------------- 7A4FH
  80.  
  81.     User 4 ---------------- 7A52H
  82.  
  83.  
  84.  
  85.  
  86. ZX65: Simulating a Micro                    Page T4
  87.  
  88.  
  89.                 *** TABLE 4 ***
  90.  
  91.  
  92.     A command summary for ZX65 (in alphabetical order)
  93.     --------------------------------------------------
  94.  
  95.  
  96.     COMMAND        FUNCTION
  97.     -------        --------
  98.  
  99.     C ------------- CPU register display & modify
  100.  
  101.     D ------------- Directory display of ZX65 files on drive B
  102.             Format: FILNAM.TYP    LOAD ADDR    # RECORDS
  103.  
  104.     E ------------- Examine block of memory. System will prompt
  105.             for starting address and number of bytes.
  106.  
  107.     G ------------- Go execute 6502 program per Current Program Counter.
  108.  
  109.     I ------------- Initialize a fresh disk on drive B. (Must be for-
  110.             matted.) System will prompt for verification.
  111.  
  112.     K ------------- Kill a ZX65 file on drive B. Similar to CP/M
  113.             ERA. System will prompt for file name.
  114.  
  115.     L ------------- Load a ZX65 file from drive B. System will prompt
  116.             for file name.
  117.  
  118.     M ------------- Memory substitution/modification. Use to view seq-
  119.             uential memory locations and update if desired.
  120.             System will prompt for address. Mode will then
  121.             continue in effect until a '.' is typed.
  122.  
  123.     R ------------- Load and run a ZX65 file from drive B, starting
  124.             at the address specified in the directory. (Must
  125.             be an executable 6502 program.)  System will
  126.             prompt for file name.
  127.  
  128.     S ------------- Save a ZX65 file on drive B. System will prompt
  129.             for file name, starting address, and number of
  130.             bytes.
  131.  
  132.     T ------------- Trace several 6502 instructions with display
  133.             following each step.  System will prompt for
  134.             desired number of steps.
  135.  
  136.     'SPACE' ------- Single-step command. System will execute one 6502
  137.             instruction, display the results, and stop.
  138.  
  139.  
  140.  
  141.  
  142. = ┼┼═║σ= ┼├ù ═║σ╤┴!╦
  143. πΘ!┐"¼$═Φ(═║"Y$µ=(    ═║=┬C *Y$}µ≡oφ[¼$"[$═└═╔┬╦
  144. *Y$"]$═l>:═c:6$╖(═a^#V#δ═lδ═ü