Commit ad292190 authored by Ben Avison's avatar Ben Avison

Resync with allocations database

Video overlay allocations, and a correction to ErrorBase_SMP

Version 2.77. Tagged as 'HdrSrc-2_77'
parent 8298f414
/* (2.76)
/* (2.77)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.76
#define Module_MajorVersion_CMHG 2.77
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 27 Apr 2018
#define Module_Date_CMHG 30 May 2018
#define Module_MajorVersion "2.76"
#define Module_Version 276
#define Module_MajorVersion "2.77"
#define Module_Version 277
#define Module_MinorVersion ""
#define Module_Date "27 Apr 2018"
#define Module_Date "30 May 2018"
#define Module_ApplicationDate "27-Apr-18"
#define Module_ApplicationDate "30-May-18"
#define Module_ComponentName "HdrSrc"
#define Module_ComponentPath "castle/RiscOS/Sources/Programmer/HdrSrc"
#define Module_FullVersion "2.76"
#define Module_HelpVersion "2.76 (27 Apr 2018)"
#define Module_LibraryVersionInfo "2:76"
#define Module_FullVersion "2.77"
#define Module_HelpVersion "2.77 (30 May 2018)"
#define Module_LibraryVersionInfo "2:77"
......@@ -26,33 +26,49 @@
; reason codes passed in r4 to GraphicsV
GraphicsV_Complete * 0
GraphicsV_VSync * 1
GraphicsV_SetMode * 2
GraphicsV_SetInterlace * 3 ; Deprecated
GraphicsV_SetBlank * 4
GraphicsV_UpdatePointer * 5
GraphicsV_SetDMAAddress * 6
GraphicsV_VetMode * 7
GraphicsV_DisplayFeatures * 8
GraphicsV_FramestoreAddress * 9
GraphicsV_WritePaletteEntry * 10
GraphicsV_WritePaletteEntries * 11
GraphicsV_ReadPaletteEntry * 12
GraphicsV_Render * 13
GraphicsV_IICOp * 14
GraphicsV_SelectHead * 15
GraphicsV_StartupMode * 16
GraphicsV_PixelFormats * 17
GraphicsV_ReadInfo * 18
GraphicsV_VetMode2 * 19
; GraphicsV_SetDMAAddress
; R4 bits: | 31-24 | 23-16
GraphicsV_Complete * 0 ; - | -
GraphicsV_VSync * 1 ; Driver | Head
GraphicsV_SetMode * 2 ; Driver | Head
GraphicsV_SetInterlace * 3 ; Driver | Head ; Deprecated
GraphicsV_SetBlank * 4 ; Driver | Head
GraphicsV_UpdatePointer * 5 ; Driver | Head
GraphicsV_SetDMAAddress * 6 ; Driver | Head
GraphicsV_VetMode * 7 ; Driver | Head
GraphicsV_DisplayFeatures * 8 ; Driver | Head
GraphicsV_FramestoreAddress * 9 ; Driver | Head
GraphicsV_WritePaletteEntry * 10 ; Driver | Head/Overlay
GraphicsV_WritePaletteEntries * 11 ; Driver | Head/Overlay
GraphicsV_ReadPaletteEntry * 12 ; Driver | Head/Overlay
GraphicsV_Render * 13 ; Driver | Head
GraphicsV_IICOp * 14 ; Driver | Head
GraphicsV_SelectHead * 15 ; Driver | -
GraphicsV_StartupMode * 16 ; Driver | Head
GraphicsV_PixelFormats * 17 ; Driver | Head
GraphicsV_ReadInfo * 18 ; Driver | -
GraphicsV_VetMode2 * 19 ; Driver | Head
GraphicsV_CreateOverlay * 20 ; Driver | -
GraphicsV_DestroyOverlay * 21 ; Driver | Overlay
GraphicsV_SetOverlayPosition * 22 ; Driver | Overlay
GraphicsV_MapOverlayBuffer * 23 ; Driver | Overlay
GraphicsV_UnmapOverlayBuffer * 24 ; Driver | Overlay
GraphicsV_DiscardOverlayBuffer * 25 ; Driver | Overlay
GraphicsV_VetOverlay * 26 ; Driver | -
GraphicsV_SetOverlayTransform * 27 ; Driver | Overlay
GraphicsV_SetOverlayZOrder * 28 ; Driver | -
; GraphicsV_SetDMAAddress (r0)
GVDAG_VInit * 0
GVDAG_VStart * 1
GVDAG_VEnd * 2
GVDAG_VRender * 3
; GraphicsV_WritePaletteEntry / WritePaletteEntries / ReadPaletteEntry (r0)
GVPaletteType_Normal * 0 ; &BBGGRRSS palette/gamma entry
GVPaletteType_Border * 1 ; &BBGGRRSS border colour
GVPaletteType_Pointer * 2 ; &BBGGRRSS pointer palette entry
GVPaletteType_ColourKey * 3 ; Raw pixel value to write to framebuffer, may be read-only
; GraphicsV_DisplayFeatures flags (r0)
GVDisplayFeature_HardwareScroll * 1:SHL:0
GVDisplayFeature_HardwarePointer * 1:SHL:1
......@@ -85,6 +101,7 @@ GVReadInfo_ModuleName * 1 ; Module (instance) name if module
GVReadInfo_DriverName * 2 ; Driver name for display to user
GVReadInfo_HardwareName * 3 ; Hardware name for display to user (e.g. PCI card name)
GVReadInfo_ControlListItems * 4 ; List of known VIDC control list items
GVReadInfo_MaxOverlays * 5 ; Max number of overlays that can be created, indicates overlay API implemented
; GraphicsV_VetMode2 result flags (r0)
GVVetMode2_ResultMask * 3
......@@ -94,5 +111,12 @@ GVVetMode2_Result_ExtFramestore * 2 ; Mode is supported, and will use the extern
GVVetMode2_Result_UnkFramestore * 3 ; Mode is supported, but driver doesn't know where the framestore will be (e.g. framestore is managed by another component, like the GPU firmware in the Pi)
GVVetMode2_ExtraBytes_Invalid * 4 ; The input value of the ExtraBytes control list item was invalid, driver has suggested a new value in R2
; GraphicsV_CreateOverlay / VetOverlay flags (r2)
GVOverlayFlag_Scalable * 1:SHL:0
GVOverlayType_Mask * 255
GVOverlayType_ZOrder * 0
GVOverlayType_Basic * 1
END
......@@ -1562,6 +1562,8 @@ ErrorBase_OHCIDriver # &40 ; &00820A00 Rob Sprowson
ErrorBase_EHCIDriver # &40 ; &00820A40 Rob Sprowson
ErrorBase_MUSBDriver # &40 ; &00820A80 Rob Sprowson
ErrorBase_DWCDriver # &40 ; &00820AC0 Rob Sprowson
ErrorBase_SMP # &100 ; &00820D00 Jeffrey Lee
ErrorBase_SMP # &100 ; &00820B00 Jeffrey Lee
^ &00820D00
ErrorBase_VideoOverlay # &100 ; &00820D00 Jeffrey Lee
OPT OldOpt
END
......@@ -1768,6 +1768,11 @@ SerialUSBSWI EQU &00001670
SerialUSBSWI_Base EQU &00059C00
SerialUSBSWI_Name SETS "SerialUSB"
GBLS VideoOverlaySWI_Name
VideoOverlaySWI EQU &00001673
VideoOverlaySWI_Base EQU &00059CC0
VideoOverlaySWI_Name SETS "VideoOverlay"
; Application SWI Chunks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment