| 1 |
; VES.H |
| 2 |
; Fairchild Channel F Header |
| 3 |
; Version 1.01, 2/NOVEMBER/2004 |
| 4 |
|
| 5 |
VERSION_CHANNELF = 101 |
| 6 |
VERSION_VES = 101 |
| 7 |
|
| 8 |
; THIS IS A PRELIMINARY RELEASE OF *THE* "STANDARD" VES.H |
| 9 |
; THIS FILE IS EXPLICITLY SUPPORTED AS A DASM-PREFERRED COMPANION FILE |
| 10 |
; PLEASE DO *NOT* REDISTRIBUTE THIS FILE! |
| 11 |
; |
| 12 |
; This file defines hardware registers and memory mapping for the |
| 13 |
; Fairchild Channel-F. It is distributed as a companion machine-specific support package |
| 14 |
; for the DASM compiler. Updates to this file, DASM, and associated tools are |
| 15 |
; available at at http: |
| 16 |
; |
| 17 |
; Many thanks to the original author(s) of this file, and to everyone who has |
| 18 |
; contributed to understanding the Channel-F. If you take issue with the |
| 19 |
; contents, or naming of registers, please write to me (atari2600@taswegian.com) |
| 20 |
; with your views. Please contribute, if you think you can improve this |
| 21 |
; file! |
| 22 |
; |
| 23 |
; Latest Revisions... |
| 24 |
; 1.01 2/NOV/2004 Kevin Lipe's version (combined macro/header) |
| 25 |
; renamed to VES.H |
| 26 |
; alternates provided for deprecated equates |
| 27 |
; ALL hardware/BIOS equates now in uppercase and prefixed |
| 28 |
; 1.00 31/OCT/2004 - initial release |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
; Please contribute Channel-F header code to atari2600@taswegian.com |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
INCLUDE_DEPRECATED ; remove to DISABLE deprecated equates |
| 37 |
|
| 38 |
|
| 39 |
;------------------------------------------------------------------------------- |
| 40 |
; BIOS Calls |
| 41 |
;------------------------ |
| 42 |
|
| 43 |
BIOS_CLEAR_SCREEN = $00d0 ; uses r31 |
| 44 |
BIOS_DELAY = $008f |
| 45 |
BIOS_PUSH_K = $0107 ; used to allow more subroutine stack space |
| 46 |
BIOS_POP_K = $011e |
| 47 |
BIOS_DRAW_CHARACTER = $0679 |
| 48 |
|
| 49 |
;------------------------------------------------------------------------------- |
| 50 |
; Colors |
| 51 |
|
| 52 |
COLOR_RED = $40 |
| 53 |
COLOR_BLUE = $80 |
| 54 |
COLOR_GREEN = $00 |
| 55 |
COLOR_BACKGROUND = $C0 |
| 56 |
|
| 57 |
; Alternate (European) spellings... |
| 58 |
|
| 59 |
COLOUR_RES = COLOR_RED |
| 60 |
COLOUR_BLUE = COLOR_BLUE |
| 61 |
COLOUR_GREEN = COLOR_GREEN |
| 62 |
COLOUR_BACKGROUND = COLOR_BACKGROUND |
| 63 |
|
| 64 |
;------------------------------------------------------------------------------- |
| 65 |
; DEPRECATED equates. |
| 66 |
; These present to be compatible with existing equate usage. |
| 67 |
; DO NOT USE THESE IN NEW CODE -- WE WANT TO GET RID OF THEM! |
| 68 |
|
| 69 |
IFCONST INCLUDE_DEPRECATED |
| 70 |
|
| 71 |
clrscrn = BIOS_CLEAR_SCREEN ; DEPRECATED! |
| 72 |
delay = BIOS_DELAY ; DEPRECATED! |
| 73 |
pushk = BIOS_PUSH_K ; DEPRECATED! |
| 74 |
popk = BIOS_POP_K ; DEPRECATED! |
| 75 |
drawchar = BIOS_DRAW_CHARACTER ; DEPRECATED! |
| 76 |
|
| 77 |
red = COLOR_RED ; DEPRECATED! |
| 78 |
blue = COLOR_BLUE ; DEPRECATED |
| 79 |
green = COLOR_GREEN ; DEPRECATED |
| 80 |
bkg = COLOR_BACKGROUND ; DEPRECATED |
| 81 |
|
| 82 |
ENDIF |
| 83 |
|
| 84 |
;------------------------------------------------------------------------------- |
| 85 |
; The following required for back-compatibility with code which does not use |
| 86 |
; segments. |
| 87 |
|
| 88 |
SEG |
| 89 |
|
| 90 |
; EOF |