mirror of
https://github.com/rdolbeau/NuBusFPGA.git
synced 2025-01-11 03:29:45 +00:00
1 line
7.7 KiB
Plaintext
1 line
7.7 KiB
Plaintext
|
;Include files
PRINT OFF
INCLUDE 'SysErr.a' ;Macintosh System equates
INCLUDE 'SysEqu.a' ;Macintosh System equates
INCLUDE 'ROMEqu.a' ;Declaration ROM equates
INCLUDE 'SlotEqu.a' ;Slot Manager equates and macros
INCLUDE 'TimeEqu.a' ;Macintosh traps
INCLUDE 'Traps.a' ;Macintosh traps
INCLUDE 'VideoEqu.a' ;Video driver equates
INCLUDE 'DepVideoEqu.a'
PRINT ON
MACHINE MC68020
DclROM MAIN
sRsrc_Board EQU 1 ; board sResource (>0 & <128)
sRsrc_VidS8 EQU $80 ; functional sResources
_sRsrcDir
OSLstEntry sRsrc_Board,_sRsrc_Board ; board sRsrc List
OSLstEntry sRsrc_VidS8,_sRsrc_VidS8 ; video sRsrc List
DatLstEntry EndOfList,0 ; end of list
STRING C
_sRsrc_Board
OSLstEntry sRsrcType,_BoardType ; offset to board descriptor
OSLstEntry sRsrcName,_BoardName ; offset to name of board
DatLstEntry boardId,NuBusFPGAID ; board ID # (assigned by DTS)
OSLstEntry PrimaryInit,_sPInitRec ; offset to PrimaryInit exec blk
OSLstEntry VendorInfo,_VendorInfo ; offset to vendor info record
;OSLstEntry SecondaryInit,_sSInitRec ; offset to SecondaryInit block
DatLstEntry EndOfList,0 ; end of list
_BoardType
DC.W CatBoard ; board sResource
DC.W TypBoard
DC.W 0
DC.W 0
_BoardName
DC.L 'SBusFPGA Video' ; name of board
; _VidICON ; optional icon, not needed
; _sVidNameDir ; optional name(s), not needed
_sPInitRec
DC.L _EndsPInitRec-_sPInitRec ; physical block size
INCLUDE 'NuBusFPGAPrimaryInit.a' ; the header/code
ALIGN 2
_EndsPInitRec
;_sSInitRec
; DC.L _EndsSInitRec-_sSInitRec ; physical block size
; INCLUDE 'NuBusFPGASecondaryInit.a' ; the header/code
; ALIGN 2
;_EndsSInitRec
STRING C
_VendorInfo
OSLstEntry VendorId,_VendorId ; offset to vendor ID
OSLstEntry RevLevel,_RevLevel ; offset to revision
OSLstEntry PartNum,_PartNum ; offset to part number record
OSLstEntry Date,_Date ; offset to ROM build date
DatLstEntry EndOfList,0
_VendorId
DC.L 'Romain Dolbeau' ; vendor ID
_RevLevel
DC.L 'NuBusFPGA V1.0' ; revision level
_PartNum
DC.L 'Part Number' ; part number
_Date
DC.B '&SysDate' ; date
_sRsrc_VidS8
OSLstEntry sRsrcType,_VideoType ; video type descriptor
OSLstEntry sRsrcName,_VideoName ; offset to driver name string
; OSLstEntry sRsrcDrvrDir,_VidDrvrDir ; offset to driver directory
DatLstEntry sRsrcHWDevId,1 ; hardware device ID
OSLstEntry MinorBaseOS,_MinorBase ; offset to frame buffer array
OSLstEntry MinorLength,_MinorLength ; offset to frame buffer length
OSLstEntry sGammaDir,_GammaDirS ; directory for 640x480 monitor
; Parameters
OSLstEntry FirstVidMode,_EBMs ; offset to EightBitMode parms
DatLstEntry EndOfList,0 ; end of list
STRING C
_VideoType
DC.W CatDisplay ; <Category>
DC.W TypVideo ; <Type>
DC.W DrSwApple ; <DrvrSw>
DC.W DrHwNuBusFPGA ; <DrvrHw>
_VideoName
DC.L 'Video_NuBusFPGA' ; video driver name
_MinorBase
DC.L defMinorBase ; frame buffer offset
_MinorLength
DC.L defMinorLength ; frame buffer length
;_VidDrvrDir
; OSLstEntry sMacOS68020,_sMacOS68020 driver directory for Mac OS
; DatLstEntry EndOfList,0
;
;_sM
|