Jo Engine  9
Jo Sega Saturn Engine
Macros
sega_saturn.h File Reference

Jo Engine Sega Saturn constants (addresses, memory sizes, etc) More...

Go to the source code of this file.

Macros

#define JO_VDP1_VRAM
 VDP1 VRAM (512 kilobytes) More...
 
#define JO_VDP1_FB
 VDP1 Frame buffer (256 kilobytes) More...
 
#define JO_VDP1_REG
 VDP1 I/O register address. More...
 
#define JO_VDP1_LAST_REG
 Last VDP1 I/O register address. More...
 
#define JO_VDP1_TVMR
 TV mode selection. More...
 
#define JO_VDP1_FBCR
 Controls the frame buffer. More...
 
#define JO_VDP1_PTMR
 Plot trigger. More...
 
#define JO_VDP1_EWDR
 Erase/write color. More...
 
#define JO_VDP1_EWLR
 Erase/write upper-left position. More...
 
#define JO_VDP1_EWRR
 Erase/write lower-right position. More...
 
#define JO_VDP1_ENDR
 Force draw end. More...
 
#define JO_VDP1_EDSR
 Transfer end status. More...
 
#define JO_VDP1_LOPR
 Return the last command table processed. More...
 
#define JO_VDP1_COPR
 Return the current command table processed. More...
 
#define JO_VDP1_MODR
 Mode status. More...
 
#define JO_VDP1_USER_AREA_SIZE
 VDP1 user area size. More...
 
#define JO_VDP1_USER_AREA_END_ADDR
 VDP1 user area end address. More...
 
#define JO_VDP1_TEXTURE_DEF_BASE_ADDRESS
 VDP1 Sprite base address. More...
 
#define JO_VDP2_REG
 VDP2 I/O register address. More...
 
#define JO_VDP2_LAST_REG
 Last VDP2 I/O register address. More...
 
#define JO_VDP2_VRAM
 VDP2 VRAM (512 kilobytes) = A0 + A1 + B0 + B1. More...
 
#define JO_VDP2_VRAM_A0
 VDP2 VRAM Bank A0 (128 kilobytes) More...
 
#define JO_VDP2_VRAM_A1
 VDP2 VRAM Bank A1 (128 kilobytes) More...
 
#define JO_VDP2_VRAM_B0
 VDP2 VRAM Bank B0 (128 kilobytes) More...
 
#define JO_VDP2_VRAM_B1
 VDP2 VRAM Bank B1 (128 kilobytes) More...
 
#define JO_VDP2_CRAM
 VDP2 Color RAM (4 kilobytes) More...
 
#define JO_VDP2_NBG1_CEL_ADR
 
#define JO_VDP2_NBG1_MAP_ADR
 
#define JO_VDP2_TVMD
 
#define JO_VDP2_EXTEN
 
#define JO_VDP2_TVSTAT
 
#define JO_VDP2_VRSIZE
 
#define JO_VDP2_HCNT
 
#define JO_VDP2_VCNT
 
#define JO_VDP2_RAMCTL
 
#define JO_VDP2_CYCA0L
 
#define JO_VDP2_CYCA0U
 
#define JO_VDP2_CYCA1L
 
#define JO_VDP2_CYCA1U
 
#define JO_VDP2_CYCB0L
 
#define JO_VDP2_CYCB0U
 
#define JO_VDP2_CYCB1L
 
#define JO_VDP2_CYCB1U
 
#define JO_VDP2_BGON
 
#define JO_VDP2_MZCTL
 
#define JO_VDP2_SFSEL
 
#define JO_VDP2_SFCODE
 
#define JO_VDP2_CHCTLA
 
#define JO_VDP2_CHCTLB
 
#define JO_VDP2_BMPNA
 
#define JO_VDP2_BMPNB
 
#define JO_VDP2_PNCN0
 
#define JO_VDP2_PNCN1
 
#define JO_VDP2_PNCN2
 
#define JO_VDP2_PNCN3
 
#define JO_VDP2_PNCR
 
#define JO_VDP2_PLSZ
 
#define JO_VDP2_MPOFN
 
#define JO_VDP2_MPOFR
 
#define JO_VDP2_MPABN0
 
#define JO_VDP2_MPCDN0
 
#define JO_VDP2_MPABN1
 
#define JO_VDP2_MPCDN1
 
#define JO_VDP2_MPABN2
 
#define JO_VDP2_MPCDN2
 
#define JO_VDP2_MPABN3
 
#define JO_VDP2_MPCDN3
 
#define JO_VDP2_MPABRA
 
#define JO_VDP2_MPCDRA
 
#define JO_VDP2_MPEFRA
 
#define JO_VDP2_MPGHRA
 
#define JO_VDP2_MPIJRA
 
#define JO_VDP2_MPKLRA
 
#define JO_VDP2_MPMNRA
 
#define JO_VDP2_MPOPRA
 
#define JO_VDP2_MPABRB
 
#define JO_VDP2_MPCDRB
 
#define JO_VDP2_MPEFRB
 
#define JO_VDP2_MPGHRB
 
#define JO_VDP2_MPIJRB
 
#define JO_VDP2_MPKLRB
 
#define JO_VDP2_MPMNRB
 
#define JO_VDP2_MPOPRB
 
#define JO_VDP2_SCXIN0
 
#define JO_VDP2_SCXDN0
 
#define JO_VDP2_SCYIN0
 
#define JO_VDP2_SCYDN0
 
#define JO_VDP2_ZMXIN0
 
#define JO_VDP2_ZMXDN0
 
#define JO_VDP2_ZMYIN0
 
#define JO_VDP2_ZMYDN0
 
#define JO_VDP2_SCXIN1
 
#define JO_VDP2_SCXDN1
 
#define JO_VDP2_SCYIN1
 
#define JO_VDP2_SCYDN1
 
#define JO_VDP2_ZMXIN1
 
#define JO_VDP2_ZMXDN1
 
#define JO_VDP2_ZMYIN1
 
#define JO_VDP2_ZMYDN1
 
#define JO_VDP2_SCXN2
 
#define JO_VDP2_SCYN2
 
#define JO_VDP2_SCXN3
 
#define JO_VDP2_SCYN3
 
#define JO_VDP2_ZMCTL
 
#define JO_VDP2_SCRCTL
 
#define JO_VDP2_VCSTAU
 
#define JO_VDP2_VCSTAL
 
#define JO_VDP2_LSTA0U
 
#define JO_VDP2_LSTA0L
 
#define JO_VDP2_LSTA1U
 
#define JO_VDP2_LSTA1L
 
#define JO_VDP2_LCTAU
 
#define JO_VDP2_LCTAL
 
#define JO_VDP2_BKTAU
 
#define JO_VDP2_BKTAL
 
#define JO_VDP2_RPMD
 
#define JO_VDP2_RPRCTL
 
#define JO_VDP2_KTCTL
 
#define JO_VDP2_KTAOF
 
#define JO_VDP2_OVPNRA
 
#define JO_VDP2_OVPNRB
 
#define JO_VDP2_RPTAU
 
#define JO_VDP2_RPTAL
 
#define JO_VDP2_WPSX0
 
#define JO_VDP2_WPSY0
 
#define JO_VDP2_WPEX0
 
#define JO_VDP2_WPEY0
 
#define JO_VDP2_WPSX1
 
#define JO_VDP2_WPSY1
 
#define JO_VDP2_WPEX1
 
#define JO_VDP2_WPEY1
 
#define JO_VDP2_WCTLA
 
#define JO_VDP2_WCTLB
 
#define JO_VDP2_WCTLC
 
#define JO_VDP2_WCTLD
 
#define JO_VDP2_LWTA0U
 
#define JO_VDP2_LWTA0L
 
#define JO_VDP2_LWTA1U
 
#define JO_VDP2_LWTA1L
 
#define JO_VDP2_SPCTL
 
#define JO_VDP2_SDCTL
 
#define JO_VDP2_CRAOFA
 
#define JO_VDP2_CRAOFB
 
#define JO_VDP2_LNCLEN
 
#define JO_VDP2_SFPRMD
 
#define JO_VDP2_CCCTL
 
#define JO_VDP2_SFCCMD
 
#define JO_VDP2_PRISA
 
#define JO_VDP2_PRISB
 
#define JO_VDP2_PRISC
 
#define JO_VDP2_PRISD
 
#define JO_VDP2_PRINA
 
#define JO_VDP2_PRINB
 
#define JO_VDP2_PRIR
 
#define JO_VDP2_RESERVE
 
#define JO_VDP2_CCRSA
 
#define JO_VDP2_CCRSB
 
#define JO_VDP2_CCRSC
 
#define JO_VDP2_CCRSD
 
#define JO_VDP2_CCRNA
 
#define JO_VDP2_CCRNB
 
#define JO_VDP2_CCRR
 
#define JO_VDP2_CCRLB
 
#define JO_VDP2_CLOFEN
 
#define JO_VDP2_CLOFSL
 
#define JO_VDP2_COAR
 
#define JO_VDP2_COAG
 
#define JO_VDP2_COAB
 
#define JO_VDP2_COBR
 
#define JO_VDP2_COBG
 
#define JO_VDP2_COBB
 

Detailed Description

Jo Engine Sega Saturn constants (addresses, memory sizes, etc)

Author
Johannes Fetz
Bug:
No known bugs.

Macro Definition Documentation

#define JO_VDP1_COPR

Return the current command table processed.

#define JO_VDP1_EDSR

Transfer end status.

#define JO_VDP1_ENDR

Force draw end.

#define JO_VDP1_EWDR

Erase/write color.

#define JO_VDP1_EWLR

Erase/write upper-left position.

#define JO_VDP1_EWRR

Erase/write lower-right position.

#define JO_VDP1_FB

VDP1 Frame buffer (256 kilobytes)

#define JO_VDP1_FBCR

Controls the frame buffer.

#define JO_VDP1_LAST_REG

Last VDP1 I/O register address.

#define JO_VDP1_LOPR

Return the last command table processed.

#define JO_VDP1_MODR

Mode status.

#define JO_VDP1_PTMR

Plot trigger.

#define JO_VDP1_REG

VDP1 I/O register address.

#define JO_VDP1_TEXTURE_DEF_BASE_ADDRESS

VDP1 Sprite base address.

#define JO_VDP1_TVMR

TV mode selection.

#define JO_VDP1_USER_AREA_END_ADDR

VDP1 user area end address.

#define JO_VDP1_USER_AREA_SIZE

VDP1 user area size.

#define JO_VDP1_VRAM

VDP1 VRAM (512 kilobytes)

#define JO_VDP2_BGON
#define JO_VDP2_BKTAL
#define JO_VDP2_BKTAU
#define JO_VDP2_BMPNA
#define JO_VDP2_BMPNB
#define JO_VDP2_CCCTL
#define JO_VDP2_CCRLB
#define JO_VDP2_CCRNA
#define JO_VDP2_CCRNB
#define JO_VDP2_CCRR
#define JO_VDP2_CCRSA
#define JO_VDP2_CCRSB
#define JO_VDP2_CCRSC
#define JO_VDP2_CCRSD
#define JO_VDP2_CHCTLA
#define JO_VDP2_CHCTLB
#define JO_VDP2_CLOFEN
#define JO_VDP2_CLOFSL
#define JO_VDP2_COAB
#define JO_VDP2_COAG
#define JO_VDP2_COAR
#define JO_VDP2_COBB
#define JO_VDP2_COBG
#define JO_VDP2_COBR
#define JO_VDP2_CRAM

VDP2 Color RAM (4 kilobytes)

#define JO_VDP2_CRAOFA
#define JO_VDP2_CRAOFB
#define JO_VDP2_CYCA0L
#define JO_VDP2_CYCA0U
#define JO_VDP2_CYCA1L
#define JO_VDP2_CYCA1U
#define JO_VDP2_CYCB0L
#define JO_VDP2_CYCB0U
#define JO_VDP2_CYCB1L
#define JO_VDP2_CYCB1U
#define JO_VDP2_EXTEN
#define JO_VDP2_HCNT
#define JO_VDP2_KTAOF
#define JO_VDP2_KTCTL
#define JO_VDP2_LAST_REG

Last VDP2 I/O register address.

#define JO_VDP2_LCTAL
#define JO_VDP2_LCTAU
#define JO_VDP2_LNCLEN
#define JO_VDP2_LSTA0L
#define JO_VDP2_LSTA0U
#define JO_VDP2_LSTA1L
#define JO_VDP2_LSTA1U
#define JO_VDP2_LWTA0L
#define JO_VDP2_LWTA0U
#define JO_VDP2_LWTA1L
#define JO_VDP2_LWTA1U
#define JO_VDP2_MPABN0
#define JO_VDP2_MPABN1
#define JO_VDP2_MPABN2
#define JO_VDP2_MPABN3
#define JO_VDP2_MPABRA
#define JO_VDP2_MPABRB
#define JO_VDP2_MPCDN0
#define JO_VDP2_MPCDN1
#define JO_VDP2_MPCDN2
#define JO_VDP2_MPCDN3
#define JO_VDP2_MPCDRA
#define JO_VDP2_MPCDRB
#define JO_VDP2_MPEFRA
#define JO_VDP2_MPEFRB
#define JO_VDP2_MPGHRA
#define JO_VDP2_MPGHRB
#define JO_VDP2_MPIJRA
#define JO_VDP2_MPIJRB
#define JO_VDP2_MPKLRA
#define JO_VDP2_MPKLRB
#define JO_VDP2_MPMNRA
#define JO_VDP2_MPMNRB
#define JO_VDP2_MPOFN
#define JO_VDP2_MPOFR
#define JO_VDP2_MPOPRA
#define JO_VDP2_MPOPRB
#define JO_VDP2_MZCTL
#define JO_VDP2_NBG1_CEL_ADR
#define JO_VDP2_NBG1_MAP_ADR
#define JO_VDP2_OVPNRA
#define JO_VDP2_OVPNRB
#define JO_VDP2_PLSZ
#define JO_VDP2_PNCN0
#define JO_VDP2_PNCN1
#define JO_VDP2_PNCN2
#define JO_VDP2_PNCN3
#define JO_VDP2_PNCR
#define JO_VDP2_PRINA
#define JO_VDP2_PRINB
#define JO_VDP2_PRIR
#define JO_VDP2_PRISA
#define JO_VDP2_PRISB
#define JO_VDP2_PRISC
#define JO_VDP2_PRISD
#define JO_VDP2_RAMCTL
#define JO_VDP2_REG

VDP2 I/O register address.

#define JO_VDP2_RESERVE
#define JO_VDP2_RPMD
#define JO_VDP2_RPRCTL
#define JO_VDP2_RPTAL
#define JO_VDP2_RPTAU
#define JO_VDP2_SCRCTL
#define JO_VDP2_SCXDN0
#define JO_VDP2_SCXDN1
#define JO_VDP2_SCXIN0
#define JO_VDP2_SCXIN1
#define JO_VDP2_SCXN2
#define JO_VDP2_SCXN3
#define JO_VDP2_SCYDN0
#define JO_VDP2_SCYDN1
#define JO_VDP2_SCYIN0
#define JO_VDP2_SCYIN1
#define JO_VDP2_SCYN2
#define JO_VDP2_SCYN3
#define JO_VDP2_SDCTL
#define JO_VDP2_SFCCMD
#define JO_VDP2_SFCODE
#define JO_VDP2_SFPRMD
#define JO_VDP2_SFSEL
#define JO_VDP2_SPCTL
#define JO_VDP2_TVMD
#define JO_VDP2_TVSTAT
#define JO_VDP2_VCNT
#define JO_VDP2_VCSTAL
#define JO_VDP2_VCSTAU
#define JO_VDP2_VRAM

VDP2 VRAM (512 kilobytes) = A0 + A1 + B0 + B1.

#define JO_VDP2_VRAM_A0

VDP2 VRAM Bank A0 (128 kilobytes)

#define JO_VDP2_VRAM_A1

VDP2 VRAM Bank A1 (128 kilobytes)

#define JO_VDP2_VRAM_B0

VDP2 VRAM Bank B0 (128 kilobytes)

#define JO_VDP2_VRAM_B1

VDP2 VRAM Bank B1 (128 kilobytes)

#define JO_VDP2_VRSIZE
#define JO_VDP2_WCTLA
#define JO_VDP2_WCTLB
#define JO_VDP2_WCTLC
#define JO_VDP2_WCTLD
#define JO_VDP2_WPEX0
#define JO_VDP2_WPEX1
#define JO_VDP2_WPEY0
#define JO_VDP2_WPEY1
#define JO_VDP2_WPSX0
#define JO_VDP2_WPSX1
#define JO_VDP2_WPSY0
#define JO_VDP2_WPSY1
#define JO_VDP2_ZMCTL
#define JO_VDP2_ZMXDN0
#define JO_VDP2_ZMXDN1
#define JO_VDP2_ZMXIN0
#define JO_VDP2_ZMXIN1
#define JO_VDP2_ZMYDN0
#define JO_VDP2_ZMYDN1
#define JO_VDP2_ZMYIN0
#define JO_VDP2_ZMYIN1