Subversion Repositories MB01 Project

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 - 1
;; CBM.INC
2
 
3
; il file puo' essere incluso solo all'interno di GLOBAL.INC
4
.IFNDEF		_GLOBAL_INC_
5
.EXIT		"ERROR: This file cannot be included."
6
.ENDIF
7
 
8
.IFDEF	_CBM_INC_
9
 
10
CINIT		.EQU	$FF81		; initialize screen editor
11
IOINIT		.EQU	$FF84		; (NO OP) initialize I/O devices
12
RAMTAS		.EQU	$FF87		; initialize RAM
13
RESTOR		.EQU	$FF8A		; (NO OP) restore default I/O vectors
14
VECTOR		.EQU	$FF8D		; (NO OP) read/set I/O vector table
15
SETMSG		.EQU	$FF90		; set Kernal message control flag
16
SECOND		.EQU	$FF93		; (NO OP) send secondary address after LISTEN
17
TKSA		.EQU	$FF96		; (NO OP) send secondary address after TALK
18
MEMTOP		.EQU	$FF99		; read/set top of memory pointer
19
MEMBOT		.EQU	$FF9C		; read/set bottom of memory pointer
20
SCNKEY		.EQU	$FF9F		; scan the keyboard
21
SETTMO		.EQU	$FFA2		; (NO OP) set time-out flag for serial bus
22
ACPTR		.EQU	$FFA5		; input byte from serial bus
23
CIOUT		.EQU	$FFA8		; output byte to serial bus
24
UNTLK		.EQU	$FFAB		; (NO OP) 'un-talk' command to serial bus
25
UNLSN		.EQU	$FFAE		; (NO OP) 'un-listen' command to serial bus
26
LISTEN		.EQU	$FFB1		; (NO OP) 'listen' command to serial bus
27
TALK		.EQU	$FFB4		; (NO OP) 'talk' command to serial bus
28
READST		.EQU	$FFB7		; read I/O status word
29
SETLFS		.EQU	$FFBA		; set logical file parameters
30
SETNAM		.EQU	$FFBD		; set filename parameters
31
FOPEN		.EQU	$FFC0		; open a logical file
32
FCLOSE		.EQU	$FFC3		; close a logical file
33
FSETIN		.EQU	$FFC6		; set file for input
34
FSETOUT		.EQU	$FFC9		; set file for output
35
FCLRCH		.EQU	$FFCC		; restore default devices
36
FCHRIN		.EQU	$FFCF		; input a character
37
FCHROUT		.EQU	$FFD2		; output a character
38
FLOAD		.EQU	$FFD5		; load file from device
39
FSAVE		.EQU	$FFD8		; save file to device
40
SETTIM		.EQU	$FFDB		; set software clock
41
RDTIM		.EQU	$FFDE		; fet software clock
42
CHKSTOP		.EQU	$FFE1		; check CTRL BREAK key
43
FGETIN		.EQU	$FFE4		; get a character
44
FCLALL		.EQU	$FFE7		; brute close all files
45
UDTIM		.EQU	$FFEA		; (NO OP) update the software clock
46
SCRORG		.EQU	$FFED		; get screen organitation
47
SCRPLOT		.EQU	$FFF0		; get/set current cursor position
48
GETIOBASE	.EQU	$FFF3		; get base address of I/O devices
49
 
50
;; non standard
51
IKEYBUF		.EQU	$FFF6		; insert codes into keyboard buffer
52
GOMON		.EQU	$FFF9
53
 
54
.ENDIF