トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

CP/M

CP/M 2.2

 links

 Memory Map

  • 62K CP/Mの場合
address size description
$0000 0.25KB CP/M System Area
$0100 54.75KB TPA (Transient Program Area)
$dc00 2KB CCP (Console Command Processor)
$e400 3.5KB BDOS (Basic Disk Operating System)
$f200 1.5KB BIOS (Basic Input and Output System)
$f800 4KB System Area (for Target Machine)

 BIOS

links

functions

  • BOOT
  • WBOOT
  • CONST
  • CONIN
  • CONOUT
  • LIST
  • PUNCH
  • READER
  • HOME
  • SELDSK
  • SETTRK
  • SETSEC
  • SETDMA
  • READ
  • WRITE
  • PRSTAT
  • SECTRN

 BDOS

links

functions

  • $00 System Reset
  • $01 Console Input
  • $02 Console Output
  • $03 Auxiliary Input
  • $04 Auxiliary Output
  • $05 List Output
  • $06 Direct Console I/O
  • $07 Get I/O Byte
  • $08 Set I/O Byte
  • $09 Print String
  • $0A Read Console Buffer
  • $0B Get Console Status
  • $0C Return Version Number
  • $0D Reset Disk System
  • $0E Select Disk
  • $0F Open File
  • $10 Close File
  • $11 Search for First
  • $12 Search for Next
  • $13 Delete File
  • $14 Read Sequential
  • $15 Write Sequential
  • $16 Make File
  • $17 Rename File
  • $18 Return Login Vector
  • $19 Return Current Disk
  • $1A Set DMA Address
  • $1B Get Addr (Alloc)
  • $1C Write Protect Disk
  • $1D Get R/O Vector
  • $1E Set File Attributes
  • $1F Get Addr (DPB)
  • $20 Set/Get User Code
  • $21 Read Random
  • $22 Write Random
  • $23 Compute File Size
  • $24 Set Random Record
  • $25 Reset Drive
  • $28 Write Random with Zero Fill

Last modified 2012-07-13 18:26:51