demOS

- Main Page
- Modules
- Data Structures
- Files

- File List

All Data Structures Files Modules Pages
Data Structures | Macros | Variables
HARDWARE.H File Reference

HARDWARE More...

`#include "DEMOSDK\BASTYPES.H"`
Include dependency graph for HARDWARE.H:

Go to the source code of this file.

## Data Structures
struct | SThardware

## Macros
#define | HW_BLACK 0x000
#define | HW_LIGHT_RED 0xF00
#define | HW_LIGHT_GREEN 0x0F0
#define | HW_LIGHT_BLUE 0x00F
#define | HW_RED 0x400
#define | HW_GREEN 0x040
#define | HW_BLUE 0x004
#define | HW_DARK_RED 0x200
#define | HW_DARK_GREEN 0x020
#define | HW_DARK_BLUE 0x002
#define | HW_YELLOW 0x0FF
#define | HW_MAGENTA 0xF0F
#define | HW_CYAN 0x0FF
#define | HW_ORANGE 0x4F0
#define | HW_WHITE 0xFFF
#define | HW_YM_SEL_FREQCHA_L 0
#define | HW_YM_SEL_FREQCHA_H 1
#define | HW_YM_SEL_FREQCHB_L 2
#define | HW_YM_SEL_FREQCHB_H 3
#define | HW_YM_SEL_FREQCHC_L 4
#define | HW_YM_SEL_FREQCHC_H 5
#define | HW_YM_SEL_FREQNOISE 6
#define | HW_YM_SEL_IO_AND_MIXER 7
#define | HW_YM_SEL_LEVELCHA 8
#define | HW_YM_SEL_LEVELCHB 9
#define | HW_YM_SEL_LEVELCHC 10
#define | HW_YM_SEL_FREQENVELOPE_L 11
#define | HW_YM_SEL_FREQENVELOPE_H 12
#define | HW_YM_SEL_ENVELOPESHAPE 13
#define | HW_YM_SEL_IO_PORTA 14
#define | HW_YM_SEL_IO_PORTB 15
#define | HW_VECTOR_INIT_PC (&g_STHardware.vectorInitPC)
#define | HW_VECTOR_VBL (&g_STHardware.vectorVBL)
#define | HW_VECTOR_HBL (&g_STHardware.vectorHBL)
#define | HW_VECTOR_DMA (&g_STHardware.vectorDMA)
#define | HW_VECTOR_TIMERB (&g_STHardware.vectorTimerB)
#define | HW_COLOR_LUT (g_STHardware.colorLUT)
#define | HW_VIDEO_MODE (&g_STHardware.videoMode)
#define | HW_KEYBOARD_DATA (&g_STHardware.keyboardData)
#define | HW_KEYBOARD_STATE (&g_STHardware.keyboardState)
#define | HW_VIDEO_BASE_H (&g_STHardware.videoBaseH)
#define | HW_VIDEO_BASE_M (&g_STHardware.videoBaseM)
#define | HW_VIDEO_BASE_L (&g_STHardware.videoBaseL)
#define | HW_VIDEO_COUNT_H (&g_STHardware.videoBaseH)
#define | HW_VIDEO_COUNT_M (&g_STHardware.videoBaseM)
#define | HW_VIDEO_COUNT_L (&g_STHardware.videoBaseL)
#define | HW_VIDEO_SYNC (&g_STHardware.videoSync)
#define | HW_VIDEO_OFFSET (&g_STHardware.videoOffset)
#define | HW_VIDEO_PIXOFFSET (&g_STHardware.videoPixOffset)
#define | HW_VIDEO_PIXOFFSET_HIDDEN (&g_STHardware.videoPixOffsetHidden)
#define | HW_DMASOUND_CONTROL (&g_STHardware.dmaSoundControl)
#define | HW_DMASOUND_STARTADR_H (&g_STHardware.dmaSoundStartAdrH)
#define | HW_DMASOUND_STARTADR_M (&g_STHardware.dmaSoundStartAdrM)
#define | HW_DMASOUND_STARTADR_L (&g_STHardware.dmaSoundStartAdrL)
#define | HW_DMASOUND_ENDADR_H (&g_STHardware.dmaSoundEndAdrH)
#define | HW_DMASOUND_ENDADR_M (&g_STHardware.dmaSoundEndAdrM)
#define | HW_DMASOUND_ENDADR_L (&g_STHardware.dmaSoundEndAdrL)
#define | HW_DMASOUND_COUNTER_H (&g_STHardware.dmaSoundCounterH)
#define | HW_DMASOUND_COUNTER_M (&g_STHardware.dmaSoundCounterM)
#define | HW_DMASOUND_COUNTER_L (&g_STHardware.dmaSoundCounterL)
#define | HW_DMASOUND_MODE (&g_STHardware.dmaSoundMode)
#define | HW_MICROWIRE_DATA (&g_STHardware.microwireData)
#define | HW_MICROWIRE_MASK (&g_STHardware.microwireMask)
#define | HW_YM_REGSELECT (&g_STHardware.ymRegSelect)
#define | HW_YM_REGDATA (&g_STHardware.ymRegData)
#define | HW_MFP_INTERRUPT_ENABLE_A (&g_STHardware.mfpInterruptEnableA)
#define | HW_MFP_INTERRUPT_ENABLE_B (&g_STHardware.mfpInterruptEnableB)
#define | HW_MFP_INTERRUPT_PENDING_A (&g_STHardware.mfpInterruptPendingA)
#define | HW_MFP_INTERRUPT_PENDING_B (&g_STHardware.mfpInterruptPendingB)
#define | HW_MFP_INTERRUPT_INSERVICE_A (&g_STHardware.mfpInterruptInServiceA)
#define | HW_MFP_INTERRUPT_INSERVICE_B (&g_STHardware.mfpInterruptInServiceB)
#define | HW_MFP_INTERRUPT_MASK_A (&g_STHardware.mfpInterruptMaskA)
#define | HW_MFP_INTERRUPT_MASK_B (&g_STHardware.mfpInterruptMaskB)
#define | HW_MFP_VECTOR_BASE (&g_STHardware.mfpVectorBase)
#define | HW_MFP_TIMER_A_CONTROL (&g_STHardware.mfpTimerAControl)
#define | HW_MFP_TIMER_B_CONTROL (&g_STHardware.mfpTimerBControl)
#define | HW_MFP_TIMER_CD_CONTROL (&g_STHardware.mfpTimerCDControl)
#define | HW_MFP_TIMER_A_DATA (&g_STHardware.mfpTimerAData)
#define | HW_MFP_TIMER_B_DATA (&g_STHardware.mfpTimerBData)
#define | HW_MFP_TIMER_C_DATA (&g_STHardware.mfpTimerCData)
#define | HW_MFP_TIMER_D_DATA (&g_STHardware.mfpTimerDData)
#define | OS_FLOPVBL (&g_STHardware._flopvbl)
#define | OS_NFLOPS (&g_STHardware._nflops)
#define | HW_VIDEO_SYNC_50HZ 2
#define | HW_VIDEO_SYNC_60HZ 0
#define | HW_VIDEO_SYNC_EXTERN 1
#define | HW_VIDEO_MODE_4P 0
#define | HW_VIDEO_MODE_2P 1
#define | HW_VIDEO_MODE_1P 2
#define | HW_DMASOUND_CONTROL_OFF 0
#define | HW_DMASOUND_CONTROL_PLAYONCE 1
#define | HW_DMASOUND_CONTROL_PLAYLOOP 3
#define | HW_DMASOUND_MODE_6258HZ 0
#define | HW_DMASOUND_MODE_12517HZ 1
#define | HW_DMASOUND_MODE_25033HZ 2
#define | HW_DMASOUND_MODE_50066HZ 3
#define | HW_DMASOUND_MODE_MONO 0x80
#define | HW_DMASOUND_MODE_STEREO 0
#define | HW_MICROWIRE_MASK_SOUND 0x7FF
#define | HW_MICROWIRE_VOLUME 0x4C0 /* 0 1100 0000 values 0 to 40 */
#define | HW_MICROWIRE_VOLUME_LEFT 0x540 /* 1 0100 0000 values 0 to 20 */
#define | HW_MICROWIRE_VOLUME_RIGHT 0x500 /* 1 0000 0000 values 0 to 20 */
#define | HW_MICROWIRE_VOLUME_TREBLE 0x480 /* 0 1000 0000 values 0 to 12 */
#define | HW_MICROWIRE_VOLUME_BASS 0x440 /* 0 0100 0000 values 0 to 12 */
#define | HW_MICROWIRE_MIXER_YM_12DB 0x400
#define | HW_MICROWIRE_MIXER_YM 0x401
#define | HW_MICROWIRE_MIXER_NO_YM 0x402
#define | HW_KEYBOARD_KEYRELEASE 0x80
#define | HW_KEY_F1 0x3B
#define | HW_KEY_F2 0x3C
#define | HW_KEY_F3 0x3D
#define | HW_KEY_F4 0x3E
#define | HW_KEY_F5 0x3F
#define | HW_KEY_F6 0x40
#define | HW_KEY_F7 0x41
#define | HW_KEY_F8 0x42
#define | HW_KEY_F9 0x43
#define | HW_KEY_F10 0x44
#define | HW_KEY_SPACEBAR 0x39
#define | HW_KEY_BACKSPACE 0xE
#define | HW_KEY_TAB 0xF
#define | HW_KEY_S 0x1F
#define | HW_KEY_V 0x2F
#define | HW_68KOP_RTS 0x4E75

## Variables
SThardware | g_STHardware

## Detailed Description

HARDWARE