Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Select sprite drawing source picture coordinates
Set mode
Function Name
SPR_SetEosMode
No
6

  format  void SPR_SetEosMode (Sint32 eosFlag)
 Input  eosFlag: 0 = Sampling even coordinates (default)
.  1 ​​= sample odd coordinates.
 Output  None
 Function value  None
 Function  Sets the sampling coordinate mode of the original picture text 
when high-speed priority drawing is specified in the drawing mode word of the sprite command

  Title  
Function specifications
  Function  
System register write macro
Function Name
SPR_WRITE_REG
No
7

  format  SPR_WRITE_REG (Uint16 reg, Uint16 val)
 Input  reg: Select and set the type of system register from the following definition values.
  SPR_W_TVMR = TV mode selection
  SPR_W_FBCR = Frame buffer switching mode
  SPR_W_PTMR = Plot trigger
  SPR_W_EWDR = Erase light data
  SPR_W_EWLR = Erase Light upper left coordinates
  SPR_W_EWRR = Erase light bottom right coordinates
  SPR_W_ENDR = Drawing forced termination
  val: Light value
 Output  None
 Function value  None
 Function  Writes to the write-only system register of VDP1. 

  Title  
Function specifications
  Function  
System register read macro
Function Name
SPR_READ_REG
No
8

  format  Uint16 val = SPR_READ_REG (Uint16 reg)
 Input  reg: Set the system register type from the following definition value.
  SPR_R_EDSR = Transfer end status
  SPR_R_LOPR = Processing suspension table address
  SPR_R_COPR = Current processing table address
  SPR_R_MODR = mode status
 Output  None
 Function value  val: Read value
 Function  Reads the register value from the read-only system register of VDP1. 


Return to previous page Return to menu Go to next page