Welcome, Guest. Please login or register.

Author Topic: Origin of the uaegfx monitor file  (Read 2667 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show all replies
Re: Origin of the uaegfx monitor file
« on: December 13, 2014, 10:40:53 AM »
Did you mean the "old" UAECALL-Interface?
Code: [Select]
...

...

***********************************************************
SetPanning:
* set view origin for overscan displays
***********************************************************
* a0:     struct BoardInfo
* a1:     UBYTE *Memory
* d0:     UWORD Width
* d1:     WORD XOffset
* d2:     WORD YOffset
* d7:    RGBFTYPE RGBFormat
***********************************************************
    move.w    d1,(gbi_XOffset,a0)
    move.w    d2,(gbi_YOffset,a0)
    move.l    a1,d4
    sub.l    (gbi_MemoryBase,a0),d4
    ; UAECALL    #22
        movem.l    d2-d7/a2-a6,-(sp)
        movea.l    d3,a5
        moveq    #22,d3            ; #22
        movem.l    d3,-(sp)
        move.l    a5,d3
        movea.l    #$F0FF60,a5
        jsr    (a5)
        movem.l    (sp)+,d2
        movem.l    (sp)+,d2-d7/a2-a6
    rts

...

...
 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show all replies
Re: Origin of the uaegfx monitor file
« Reply #1 on: December 13, 2014, 06:23:27 PM »
Quote from: Thomas Richter;779744
... file I need to put into DEVS:Monitors to be able to use the emulated uaegfx card of UAE for RTG screens in UAE...


The file in devs : monitors is allways the same, it is a "startup"-code for the file in argument BOARDTYPE=xxxx.card .
The "card"-files can be found in den libs : picasso96 / ...

Did you search for the source for the uaegfx.card driver?


Code: [Select]
Start:                        ; just in case we are executed
        moveq    #-1,d0
        rts
;-----------------------------------------------
RomTag:
        dc.w    RTC_MATCHWORD
        dc.l    RomTag
        dc.l    EndCode
        dc.b    RTF_AUTOINIT
        dc.b    0
        dc.b    NT_LIBRARY
        dc.b    RomTagPri
        dc.l    LibName
        dc.l    IDString
        dc.l    InitTable

CardName:
        dc.b    'uaegfx'
        dc.b    0
LibName:
        dc.b    'uaegfx'
        dc.b    '.card',0
IDString:
        dc.b    'UAE Graphics Card 0.7 (10.10.97)',13,10,0
VERString:
        dc.b    0,'$VER: UAE Graphics Card 0.7 (10.10.97)',0
ExpansionName:
        dc.b    'expansion.library',0
ChipName:
        dc.b    'picasso96/'
        dc.b    'uaegfx'        ; NAME
        dc.b    '.card',0
...
...
...


Code: [Select]
...
...
...
* d0:    UBYTE mask
***********************************************************
; we do nothing here, because we're not supporting planar modes in UAE
    rts

***********************************************************
SetReadPlane:
* a0:    struct BoardInfo
* d0:    UBYTE Plane
***********************************************************
; we do nothing here, because we're not supporting planar modes in UAE
    rts

***********************************************************
WaitVerticalSync:
* a0:    struct BoardInfo
***********************************************************
    ; UAECALL    #34
        movem.l    d2-d7/a2-a6,-(sp)
        movea.l    d3,a5
        moveq    #34,d3            ; #34
        movem.l    d3,-(sp)
        move.l    a5,d3
        movea.l    #$F0FF60,a5
        jsr    (a5)
        movem.l    (sp)+,d2
        movem.l    (sp)+,d2-d7/a2-a6
    rts

***********************************************************
WaitBlitter:
...
...
...

 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show all replies
Re: Origin of the uaegfx monitor file
« Reply #2 on: December 13, 2014, 08:15:10 PM »
Quote from: Thomas Richter;779763
I wrote a mail to Tony, awaiting response.


Otherwise you know where to find me.