home *** CD-ROM | disk | FTP | other *** search
/ BBS 1 / BBS#1.iso / document / msx.arj / MSXBIOS.DOC < prev    next >
Encoding:
Text File  |  1986-09-30  |  15.9 KB  |  1,249 lines

  1. BIOS Entry list
  2.  
  3. COMMENT:
  4.  
  5. The following Restart (RST 0 through RST 5) are reserved for
  6. the BASIC interpreter,RST 6 for inter-slot calls,RST   7 for
  7. hardware interrupt.
  8.  
  9. Name        Name of function
  10. Function    Function to be performed
  11. Entry        Entry parameter
  12. Return        Return parameter
  13. Modifies    Register to be modified
  14. Notes        (optional)
  15.  
  16. ------------------------------------------------------------
  17.  
  18. 0000
  19.  
  20. Name        CHKRAM
  21. F        Check RAM and sets slot for command area.
  22. E        None
  23. R        None
  24. M        All
  25. N        When done,a jump to INIT must be made for
  26.          further    initializator.
  27.  
  28.  
  29. 0008
  30.  
  31. Name        SYNCHR
  32. F        Checks if then current character pointed by
  33.         HL is one desired.If not,generates 
  34.         'Syntax error',otherwise falls into CHRGTB.
  35. E        HL,character to be checked be placed at the
  36.         next location to this RST.
  37. R        HL points to next character,a has the 
  38.         character.
  39.         Carry flag set if number, Z flag set if end
  40.         of statesment.
  41. M        AF,HL.
  42.  
  43.  
  44. 000C
  45.  
  46. Name        RDSLT
  47. F        Select the appropriate slot according to the
  48.         value given through registers, and reads the
  49.          contents of memory from the slots.
  50. E        A:   FxxxSSPP
  51.              |   ||||
  52.              |   ||----Primary slot #(0-3)
  53.              |   ------Secondary slots #(0-3)
  54.              ----------If secondary slot # specified.
  55. R        A: Contents of memory.
  56. M        AF,BC,DE
  57. N        Interrupts are disabled automatically but
  58.         are never enabled by this routine.
  59.  
  60.  
  61. 0010
  62.  
  63. Name        CHRGTB
  64. F        Gets next character (on token) from BASIC text.
  65. E        HL
  66. R        HL points to next characted, A has the
  67.         character. Carry flag set if number,Z flag
  68.         set if end of statesment encountered.
  69. M        AF,HL.
  70.  
  71.  
  72. 0014
  73.  
  74. Name         WRTSLT
  75. F        Select the appropriate slot according to the
  76.         value given through registers, and writes to
  77.         memory.
  78. E        A: FxxxSSPP.(see RDSLT).
  79.         HL: Address of target memory.
  80.         E: Data to be written.
  81. R        None.
  82. M        AF,BC,D
  83. N        (see RDSLT)
  84.  
  85.  
  86. 0018
  87.  
  88. Name        OUTDO
  89. F        Output to the current device.
  90. E        A,RTFIL,PRTPGL.
  91. R        None.
  92. M        None.
  93.  
  94.  
  95. 001C
  96.  
  97. Name        CALSLT
  98. F        Performs inter-slot call to specified address.
  99. E        IY -FxxxSSPP (high) (see RDSLT)
  100.         IX: Adress to call
  101. R        None
  102. M        None
  103. N        Interrupt are disabled automatically but
  104.         never enabled to this routine. Argument can
  105.         never be passed via the alternate registers of
  106.         Z80 or IX and IY.
  107.  
  108.  
  109. 0020
  110.  
  111. Name        DCOMPR
  112. F        Compare HL with DE.
  113. E        HL,DE.
  114. R        Flag.
  115. M        AF.
  116.  
  117.  
  118.  
  119. 0024
  120.  
  121. Name        ENASLT
  122. F        Select the appropriate slot according to the 
  123.         value given through registers,and permanently
  124.         enables the slot
  125. E        A: FxxxSSPP.
  126.         HL:Address of target memory.
  127. R        None.
  128. M        All.
  129. N        (see RDSLT)
  130.  
  131.  
  132.  
  133. 0028
  134.  
  135. Name        GETYPR
  136. F        Return the type FAC.
  137. E        FAC.
  138. R        Flags.
  139. M        AF.
  140.  
  141.  
  142.  
  143. 0030
  144.  
  145. Name        CALLF
  146. F        Performs far_call (i.e. inter-slots call)
  147. E        None
  148. R        Flags.
  149. N        The calling sequence is as follows.
  150.  
  151.  
  152.         RST 6
  153.         DB        Destination slot.
  154.         DW        Destination address.
  155.  
  156.         (see CALSLT)
  157.  
  158.  
  159.  
  160. 0038
  161.  
  162. Name        KEYINT
  163. F        Performs hardware interrupt procedures.
  164. E        None.
  165. R        None.
  166. M        None.
  167.  
  168.  
  169.  
  170. ;-----------------------------------------------------------
  171.  
  172. The following routined are used for I/O initialization.
  173.  
  174. ;-----------------------------------------------------------
  175.  
  176.  
  177.  
  178. 003B
  179.  
  180. Name        INITIO
  181. F        Performed devise initialization.
  182. E        None
  183. R        None
  184. M        All
  185.  
  186.  
  187.  
  188. 003E
  189.  
  190. Name        INIFNK
  191. F        Initializes function key strings.
  192. E        None
  193. R        None
  194. M        All
  195.  
  196.  
  197. ;-----------------------------------------------------------
  198.  
  199. The following routined are used to access the VDP (T19918) 
  200.  
  201. ;-----------------------------------------------------------
  202.  
  203.  
  204.  
  205. 0041
  206.  
  207. Name        DISSCR
  208. F        Disables screen display.
  209. E        None
  210. R        None
  211. M        AF,BC
  212.  
  213.  
  214.  
  215. 0044
  216.  
  217. Name        ENASCR
  218. F        Enables screen display.
  219. E        None
  220. R        None
  221. M        AF,BC
  222.  
  223.  
  224.  
  225. 0047
  226.  
  227. Name        WRTVDP
  228. F        Writes to the VDP register.
  229. E        Register in C,data in B.
  230. M        AF,BC.
  231.  
  232.  
  233.  
  234. 004A
  235.  
  236. Name        RDVRM
  237. F        Reads the VRAM address by [HL].
  238. E        HL.
  239. R        A
  240. M        AF
  241.  
  242.  
  243.  
  244. 004D
  245.  
  246. Name         WRTVRM
  247. F        Write to the VRAM address by [HL].
  248. E        HL,A.
  249. R        None
  250. M        AF
  251.  
  252.  
  253.  
  254. 0050
  255.  
  256. Name         SETRD
  257. F        Sets up the VDP for read.
  258. E        HL
  259. R        None 
  260. M        AF
  261.  
  262.  
  263.  
  264. 0053        
  265.  
  266. Name        SETWRT
  267. F        Sets up the VDP for write.
  268. E        HL
  269. R        None
  270. M        AF
  271.  
  272.  
  273.  
  274. 0056
  275.  
  276. Name        FILVRM
  277. F        fill the vram with specified data
  278. E        addres [HL] , length [BC], data [a]
  279. R        none
  280. M        All
  281.     
  282.  
  283.  
  284.  
  285. 0059
  286.  
  287. Name        LDIRMV
  288. F        Moves a VRAM memory block to memory.
  289. E        Address of sourse [HL], destanation [DE]
  290.         lenght [BC] .
  291. R        none
  292. M        All
  293.  
  294.  
  295.  
  296. 005C
  297.  
  298. Name        LDIRMV
  299. F        Move blok of memery from memory to Vram
  300. E        sourse [HL], destanation [DE], length [BC]
  301. R        None
  302. M        All
  303.  
  304.  
  305.  
  306. 005F
  307.  
  308. Name        CHGMOD
  309. F        Sets the VDP mode according to SCRMOD.
  310. E        SCRMOD (0...3)
  311. R        None
  312. M        All
  313.  
  314.  
  315.  
  316. 0062
  317.  
  318. Name        CHGCLR
  319. F        Changes the color of the screen.
  320. E        Foreground color in FOBCLR.
  321.         Background color in BAKCLR.
  322.         Border color in BDRCLR
  323. R        None 
  324. M        All
  325.  
  326.  
  327.  
  328. 0066
  329.  
  330. Name        NMI
  331. F        Performs non-maskable interrupt procedures.
  332. E        None
  333. R        None
  334. M        None
  335.  
  336.  
  337.  
  338. 0069
  339.  
  340. Name        CLRSPR
  341. F        Initializes all sprites.
  342.         Patterns are set to nulls,sprite names are
  343.         set to sprite plane number,sprite colors are
  344.         set to foregroup color,vertical positions are
  345.         set to 209
  346. E        SCRMOD
  347. R        None
  348. M        All
  349.  
  350.  
  351.  
  352. 006C
  353.  
  354. Name        INITXT
  355. F        Initializes screen for text mode (40*24) and
  356.         sets the VDP.
  357. E        TXTNAM,TXTCGP.
  358. R        None.
  359. M        All
  360.  
  361.  
  362.  
  363. 006F
  364.  
  365. Name        INIT32
  366. F        Initializes screen for text mode (32*24) and
  367.         sets the VDP.
  368. E        T32NAM,T32GRP,T32COL,T32ATR,T32PAT.
  369. R        None
  370. M        All
  371.  
  372.  
  373.  
  374. 0072
  375.  
  376. Name        INIGRP
  377. F        Initializes screen for high-resolution mode
  378.         and sets the VDP.
  379. E        GRPNAM,GRPCGP,GRPCOL,GRATR,GRPPAT.
  380. R        None
  381. M        All
  382.  
  383.  
  384.  
  385. 0075
  386.  
  387. Name        INIMLT
  388. F        Initializes screen for multi-color mode and
  389.         sets the VDP.
  390. E        MLTNAM,MLTCGP,MLTCOL,MLTATR,MLTPAT.
  391. R        None
  392. M        All
  393.  
  394.  
  395.  
  396. 0078
  397.  
  398. Name        SETTXT
  399. F        Sets the VDP for text (40*24) mode.
  400. E        TXTNAM,TXTCGT.
  401. R        None
  402. M        All
  403.  
  404.  
  405.  
  406. 007B
  407.  
  408. Name        SETT32
  409. F        Sets the VDP for text (32*24) mode.
  410. E        T32NAM,T32CGT,T32COL,T32ATR,T32PAT.
  411. R        None
  412. M        All
  413.  
  414.  
  415.  
  416. 007E
  417.  
  418. Name        SETGRP
  419. F        Sets the VDP for high-resolution mode.
  420. E        GRPNAM,GRPCGP,GRPCOL,GRPATR,GRPPAT.
  421. R        None
  422. M        All
  423.  
  424.  
  425.  
  426. 0081
  427.  
  428. Name        SETMLT
  429. F        Sets the VDP for multicolor mode.
  430. E        MLTNAM,MLTCGRP,MLTCOL,MLTATR,MLTPAT.
  431. R        None
  432. M        All
  433.  
  434.  
  435.  
  436. 0084
  437.  
  438. Name        CALPAT
  439. F        Returns address of sprite pattern table.
  440. E        Sprite ID in [Acc].
  441. R        Address in [HL]
  442. M        AF,DE,HL.
  443.  
  444.  
  445.  
  446. 0087
  447.  
  448. Name        CALATR
  449. F        Returns address of sprite atribute table.
  450. E        Sprite ID in [Acc].
  451. R        Address in [HL].
  452. M        AF,DE,HL.
  453.  
  454.  
  455.  
  456. 008A
  457.  
  458. Name        GSPSIZ
  459. F        Returns the current sprite size.
  460. E        None.
  461. R        Sprite size(# of bytes) in [Acc].
  462.         Carry set if 16*16 sprite is use,otherwise
  463.         reset the otherwise.
  464. M        AF
  465.  
  466.  
  467.  
  468. 008D
  469.  
  470. Name        GRPPRT
  471. F        Prints a character on the graphic screen.
  472. E        Code to output in [Acc].
  473. R        None
  474. M        None
  475.  
  476.  
  477. ;-----------------------------------------------------------
  478.  
  479. The following routined are used to access the PSG.
  480.  
  481. ;-----------------------------------------------------------
  482.  
  483. 0090
  484.  
  485. Name        GICINI
  486. F        Initializes PSG,and static data for PLAY
  487.         statement.
  488. E        None.
  489. R        None.
  490. M        All
  491.  
  492.  
  493.  
  494. 0093
  495.  
  496. Name        WRTPSG
  497. F        Writes data to the PSG register.
  498. E        Register number in [Acc],data in [E].
  499. R        None
  500. M        None
  501.  
  502.  
  503.  
  504. 0096
  505.  
  506. Name        RDPSG
  507. F        Reads data from PSG register.
  508. E        Register number in [Acc].
  509. R        Data in [Acc].
  510. M        None.
  511.  
  512.  
  513.  
  514. 0099
  515.  
  516. Name        STRTMS
  517. F        Checks/starts background tasks for PLAY.
  518. E        None
  519. R        None
  520. M        All
  521.  
  522.  
  523. ;-----------------------------------------------------------
  524.  
  525. The following routined are used to access the console, 
  526. i.e. the keyboard and the CRT.
  527.  
  528. ;-----------------------------------------------------------
  529.  
  530. 009C
  531.  
  532. Name        CHSNS
  533. F        Check the status of keyboard buffer.
  534. E        None
  535. R        Z flag reset if any character in buffer.
  536. M        AF
  537.  
  538.  
  539.  
  540. 009F
  541.  
  542. Name        CHGET
  543. F           Waits for character being input and returns 
  544.         the character codes.
  545. E        None.
  546. R        Character code in [Acc].
  547. M        AF
  548.  
  549.  
  550.  
  551. 00A2
  552.  
  553. Name        CHPUT
  554. F        Outputs a character to the console.
  555. E        Character code to be output in [Acc].
  556. R        None
  557. M        None
  558.  
  559.  
  560.  
  561. 00A5
  562.  
  563. Name        LPTOUT
  564. F        Output a character to the line printer.
  565. E        Character codes to the output in [Acc].
  566. R        Carry flag set if aborted.
  567. M        F
  568.  
  569.  
  570.  
  571. 00A8
  572.  
  573. Name        LPTSTT
  574. F        Check the line priter status.
  575. E        None.
  576. R        FF in [Acc] and Z flag reset if priter ready.
  577.         0 and Z flag set if not.
  578. M        AF.
  579.  
  580.  
  581.  
  582. 00AB
  583.  
  584. Name        SNVCHR
  585. F        Check graphic header byte and converts codes.
  586. E        Character code in [Acc].
  587. R        Cy flag reset: graphic header byte
  588.         Cy and Z flags set converted graphic code.
  589.         Cy flag set,Z flag reset,non-converted code.
  590. M        AF.
  591.  
  592.  
  593.  
  594. 00AE
  595.  
  596. Name        PINLIN
  597. F        Accepts a line from console until a CR or STOP
  598.         is typed,and stores the line in a buffer.
  599. E        None
  600. R        Address of buffer top-1 in [HL],carry flag 
  601.         sets if STOP is input.
  602. M        All.
  603.  
  604.  
  605.  
  606. 00B1
  607.  
  608. Name        INLIN
  609. F        Same as PINLIN,exept if AUTFLO if set.
  610. E        None
  611. R        Address of buffer top-1 in [HL],carry flag 
  612.         set if STOP is input.
  613. M        All
  614.  
  615.  
  616.  
  617. 00B4
  618.  
  619. Name        QINLIN
  620. F        Output a '?' mark and a space then falls into
  621.         the INLIN routine.
  622. E        None
  623. R        Address of buffer top-1 in [HL],carry flag
  624.         set if STOP is input.
  625. M        All.
  626.  
  627.  
  628.  
  629. 00B7
  630.  
  631. Name        BREAKX
  632. F        Check the status of the Control-STOP key.
  633. E        None
  634. R        Carry flag set if being pressed.
  635. M        AF
  636. N        This routine is used to check Control-STOP 
  637.         when interrupt are disabled.
  638.  
  639.  
  640.  
  641. 00BA
  642.  
  643. Name        ISCNTC
  644. F        Check the status of the SHIFT-STOP key.
  645. E        None
  646. R        None
  647. M        None
  648.  
  649.  
  650.  
  651. 00BD
  652.  
  653. Name        CKCNTC
  654. F        Same as ISCNTC,used by BASIC
  655. E        None
  656. R        None
  657. M        None
  658.  
  659.  
  660.  
  661. 00C0 
  662.  
  663. Name        BEEP
  664. F        Sounds the buffer
  665. E        None
  666. R        None
  667. M        All
  668.  
  669.  
  670.  
  671. 00C3
  672.     
  673. Name        CLS
  674. F        Clear the screen.
  675. E        None.
  676. R        None.
  677. M        AF,BC,DE.
  678.  
  679.  
  680.  
  681. 00C6
  682.  
  683. Name        POSIT
  684. F        Locate cursor at the specified position.
  685. E        Column in [H],row in [L]
  686. R        None
  687. M        AF
  688.  
  689.  
  690. 00C9
  691.  
  692. Name        FNKSB
  693. F        Check if function key display is active. If
  694.         it is,it display it,otherwise does nothing.
  695. E        FNKFLG
  696. R        None
  697. M        All
  698.  
  699.  
  700.  
  701. 00CC
  702.  
  703. Name        ERAFNK
  704. F        Erased the function key diplay.
  705. E        None
  706. R        None
  707. M        All
  708.  
  709.  
  710.  
  711. 00CF
  712.  
  713. Name        DSPFNK
  714. F        Display the function key display.
  715. E        None
  716. R        None
  717. M        All
  718.  
  719.  
  720.  
  721. 00D2
  722.  
  723. Name        TOTEXT
  724. F        Forcidly places the screen in text mode.
  725. E        None
  726. R        None
  727. M        All
  728.  
  729.  
  730.  
  731. ;-----------------------------------------------------------
  732.  
  733. The following routined are used for game I/O access.
  734.  
  735. ;-----------------------------------------------------------
  736.  
  737.  
  738. 00D5
  739.  
  740. Name        GTSTCK
  741. F        Return the current joystick status.
  742. E        Joystick ID in [Acc]
  743. R        Direction in [Acc]
  744. M        All
  745.  
  746.  
  747.  
  748. 00D8
  749.  
  750. Name        GTTRIG
  751. F        Return the current trigger button status.
  752. E        Trigger button in ID in [Acc].
  753. R        Return 0 in [Acc] if not pressed,255 
  754.         otherwise.
  755. M        AF
  756.  
  757.  
  758.  
  759. 00DB
  760.  
  761. Name        GTPAD
  762. F        Check the current touch PAD status.
  763. E        ID in [Acc]
  764. R        Value in [Acc]
  765. M        All
  766.  
  767.  
  768.  
  769. 00DE
  770.  
  771. Name        GTPDL
  772. F        Return the value of the paddle.
  773. E        Padle ID in [Acc].
  774. R        Value in [Acc]
  775. M        All
  776.  
  777.  
  778. ;-----------------------------------------------------------
  779.  
  780. The following routined are used to access the cassette tape.
  781.  
  782. ;-----------------------------------------------------------
  783.  
  784.  
  785. 00E1
  786.  
  787. Name        TAPION
  788. F        Sets the motor on and reads header from tape.
  789. E        None
  790. R        Carry flag set if aborted.
  791. M        All.
  792.  
  793.  
  794.  
  795. 00E4
  796.  
  797. Name        TAPIN
  798. F        Input from tape.
  799. E        None
  800. R        Data in [Acc],carry flag is set if aborted.
  801. M        All
  802.  
  803.  
  804.  
  805. 00E7
  806.  
  807. Name        TAPION
  808. F        Stops reading froim tape.
  809. E        None
  810. R        None
  811. M        None
  812.  
  813.  
  814. 00EA
  815.  
  816. Name        TAPOON
  817. F        Sets motor on and writes header block to
  818.         cassette.
  819. E        [Acc] holds non-0 value if a long header
  820.         desired,0 if a short header desired.
  821. R        Carry flag set if aborted.
  822. M        All
  823.  
  824.  
  825. 00ED
  826.  
  827. Name        TAPOUT 
  828. F        Output to tape.
  829. E        Data to be output in [Acc].
  830. R        Carry flag set if aborted.
  831. M        All.
  832.  
  833.  
  834.  
  835. 00F0
  836.  
  837. Name        TAPOOF
  838. F        Stops writing to tape.
  839. E        None
  840. R        None
  841. M        None
  842.  
  843.  
  844.  
  845. 00F3        
  846.  
  847. Name        STMOTR
  848. F        Starts the cassette motor.
  849. E        0 in [Acc] to stop,1 to start,255 to flip.
  850. R        None
  851. M        AF
  852.  
  853.  
  854. ;-----------------------------------------------------------
  855.  
  856. The following routined are used to handle queues.
  857.  
  858. ;-----------------------------------------------------------
  859.  
  860. 00F6
  861.  
  862. Name        LFTQ
  863. F        Return the number of bytes left in queue.
  864. E
  865. R
  866. M
  867.  
  868.  
  869.  
  870. 00F9
  871.  
  872. Name        PUTQ
  873. F        Plase a byte in gueue.
  874. E
  875. R
  876. M
  877.  
  878.  
  879. ;-----------------------------------------------------------
  880.  
  881. The following routined are used by GENGRP and ADVGRP modules
  882.  
  883. ;-----------------------------------------------------------
  884.  
  885.  
  886. 00FC
  887.  
  888. Name        RIGHTC
  889. F        Moves one pixel right.
  890. E
  891. R
  892. M
  893.  
  894.  
  895.  
  896. 00FF
  897.  
  898. Name        LEFTC
  899. F        Moves one pixel right
  900. E
  901. R
  902. M
  903.  
  904.  
  905.  
  906. 0102
  907.  
  908. Name        UPC
  909. F        Moves one pixel up.
  910. E
  911. R
  912. M
  913.  
  914.  
  915.  
  916. 0105
  917.  
  918. Name        TUPC
  919. F        Moves one pixel up.
  920. E
  921. R
  922. M
  923.  
  924.  
  925.  
  926. 0108
  927.  
  928. Name        DOWNC
  929. F        Moves one pixel down.  
  930. E
  931. R
  932. M
  933.  
  934.  
  935.  
  936. 010B
  937.  
  938. Name        TDOWNC
  939. F        Moves one pixel    down.
  940.  
  941.  
  942.  
  943. 010E
  944.  
  945. Name        SCALXY
  946. F        Scales the X-Y coordinate.
  947. E
  948. R
  949. M
  950.  
  951.  
  952.  
  953. 0111
  954.  
  955. Name        MAPXYC
  956. F        Map the coordinate to the physical address.
  957. E
  958. R
  959. M
  960.  
  961.  
  962. 0114        
  963. Name        FETCHC
  964.  
  965. F        Fetcher current physical address and mask
  966.         pattern.
  967. E        None
  968. R        Address in [HL],mask pattern in [Acc].
  969. M        A,HL
  970.  
  971.  
  972.  
  973. 0117
  974.  
  975. Name        STOREC
  976. F        Stores physical address and mask pattent in [Acc].
  977. E        Address in [HL],mask pattern in [Acc].
  978. R        None
  979. M        None
  980.  
  981.  
  982.  
  983. 011A
  984.  
  985. Name        SETATR
  986. F        Sets attribute byte.
  987. E
  988. R
  989. M
  990.  
  991.  
  992.  
  993.  
  994. 011D
  995.  
  996. Name        READC
  997. F        Read attribyte of current pixel.
  998. E
  999. R
  1000. M
  1001.  
  1002.  
  1003.  
  1004.  
  1005. 0120
  1006.  
  1007. Name        SETC
  1008. F        Set current pixel to the specified attribute.
  1009. E
  1010. R
  1011. M
  1012.  
  1013.  
  1014.  
  1015.  
  1016. 0123
  1017.  
  1018. Name        NSETCX
  1019. F        Set pixel horizontally.
  1020. E
  1021. R
  1022. M
  1023.  
  1024.  
  1025.  
  1026.  
  1027. 0126
  1028.  
  1029. Name        GTASPC
  1030. F        Returns the aspect ratio
  1031. E        None
  1032. R        DE,HL
  1033. M        DE,HL
  1034.  
  1035.  
  1036.  
  1037.  
  1038. 0129
  1039.  
  1040. Name        PNTINI
  1041. F        Initializes the PAINT function
  1042. E
  1043. R
  1044. M
  1045.  
  1046.  
  1047.  
  1048. 012C
  1049.  
  1050. Name        SCANR
  1051. F        Scans pixel to the right.
  1052. E
  1053. R
  1054. M
  1055.  
  1056.  
  1057.  
  1058. 012F
  1059.  
  1060. Name        SCANL
  1061. F        Scans pixel to the left.
  1062. E
  1063. R
  1064. M
  1065.  
  1066.  
  1067.  
  1068. ;-----------------------------------------------------------
  1069.  
  1070. The following routined are additional entries.
  1071.  
  1072. ;-----------------------------------------------------------
  1073.  
  1074.  
  1075. 0132
  1076.  
  1077. Name        CHGCAP
  1078. F        Change  the status of CAP lamp.
  1079. E        0 in [Acc] to turn off the lamp,non-0 
  1080.         otherwise.
  1081. R        None
  1082. M        AF
  1083.  
  1084.  
  1085.  
  1086.  
  1087. 0135
  1088.  
  1089. Name        CHGCND
  1090. F        Change the status of 1 bit soutd port.
  1091. E        0 in [Acc] to turn off,non-0 otherwise.
  1092. R        None
  1093. M        AF
  1094.  
  1095.  
  1096.  
  1097.  
  1098. 0138
  1099.  
  1100. Name        RSLREG
  1101. F        Read the current output to the primary slot
  1102.         register.
  1103. E        None
  1104. R        Result in [Acc].
  1105. M        A
  1106.  
  1107.  
  1108.  
  1109. 013B        
  1110.  
  1111. Name        WSLREG
  1112. F        Writes to the primary slot register.
  1113. E        Value in [Acc]
  1114. R        None
  1115. M        None
  1116.  
  1117.  
  1118.  
  1119.  
  1120. 013E
  1121.  
  1122. Name        RDVDP
  1123. F        Read VDP status register.
  1124. E        None
  1125. R        Data in [Acc].
  1126. M        A
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132. 0141
  1133.  
  1134. Name        SNSMAT
  1135. F        Returns the status of a specified row of a
  1136.         keyboard matrix.
  1137. E        Row # in [Acc]
  1138. R        Status in [Acc],corresponding bit is reset
  1139.         to 0 if a key is being pressed.
  1140. M        AF.
  1141.  
  1142.  
  1143.  
  1144. 0144
  1145.  
  1146. Name        PHYDIO
  1147. F        Performs operation for mass-storage devices
  1148.         such as disk.
  1149. E
  1150. R
  1151. M
  1152. N        In the minimum configuration,only a hock is
  1153.         provided.
  1154.  
  1155.  
  1156.  
  1157. 0147
  1158.  
  1159. Name        FORMAT
  1160. F        Initializes mass-storage devices.
  1161. E
  1162. R
  1163. M
  1164. N        In the minimum configuration,only a hock is
  1165.         provided.
  1166.  
  1167.  
  1168.  
  1169. 014A
  1170.  
  1171. Name        ISFLIO
  1172. F        Check the device I/O is being done.
  1173. E        None
  1174. R        Not zero if so,zero otherwise.
  1175.  
  1176.  
  1177.  
  1178. 014D
  1179.  
  1180. Name        OUTDLP
  1181. F        Output to the line priter.
  1182. E        Code in [Acc]
  1183. R        None
  1184. N        This entry differs from LPTOUT in that:
  1185.          1) TABs are expanded to spaces,
  1186.          2) Higara and graphics are converted when
  1187.             a non-MSX printer is in use.
  1188.          3) A jump to 'Device I/O error' is made when
  1189.             aborted.
  1190.  
  1191.  
  1192.  
  1193.  
  1194. 0150
  1195.  
  1196. Name        GETVCP
  1197. F        
  1198. E
  1199. M
  1200. N        Used only to play music in the background.
  1201.  
  1202.  
  1203.  
  1204. 0153
  1205.  
  1206. Name        GETVC2
  1207. F
  1208. E
  1209. R
  1210. M
  1211. N        Used only to play music in barcground.
  1212.  
  1213.  
  1214.  
  1215. 0156
  1216.  
  1217. Name        KILBUF
  1218. F        Clears the keyboard buffer.
  1219. E        None
  1220. R        None
  1221. M        HL
  1222.  
  1223.  
  1224.  
  1225. 0159
  1226.  
  1227. Name        CALBAS
  1228. F        Performs far_call (i.e.inter-slot call) into
  1229.         the BASIC interpreter.
  1230. E        Address in [IX]
  1231. R
  1232. M
  1233.  
  1234.  
  1235.  
  1236. ;-----------------------------------------------------------
  1237.  
  1238. The following is a a patch area for BIOS.It is placed here to
  1239.  make it easier to add new entry vector.
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.         END
  1248.