Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

guest11527

  • Guest
Origin of the uaegfx monitor file
« on: December 12, 2014, 10:40:48 PM »
Does anyone have more information on the origin of the uaegfx monitor driver, i.e. the one that allows emulated graphics cards to be used with xxUAE? My first thought was that this should have been distributed originally with P96, but as it seems, it is not. It does not seem to be part of its internal sources, and hence must have seen in some other way the light of the day.  The problem seems to be that there is apparently a slight interface change in the latest releases of P96 that might have broken something in uaegfx, though I would prefer to understand the problem a bit better.
 

Offline kolla

Re: Origin of the uaegfx monitor file
« Reply #1 on: December 12, 2014, 10:48:10 PM »
It is part of UAE, is it not?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Origin of the uaegfx monitor file
« Reply #2 on: December 12, 2014, 10:55:30 PM »
I am only on ipad here, but guessing this:
https://github.com/tonioni/WinUAE/blob/master/picasso96.cpp
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: Origin of the uaegfx monitor file
« Reply #3 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

...

...
 

guest11527

  • Guest
Re: Origin of the uaegfx monitor file
« Reply #4 on: December 13, 2014, 01:42:50 PM »
Quote from: Ratte;779738
Did you mean the "old" UAECALL-Interface?

I don't know, likely not. I'm wondering who might have information and/or sources for the uaegfx.monitor file I need to put into DEVS:Monitors to be able to use the emulated uaegfx card of UAE for RTG screens in UAE. I thought it might be part of the P96 source tree, but it isn't. Somebody else must have implemented this, but I don't know who and whom to ask.
 

Offline kolla

Re: Origin of the uaegfx monitor file
« Reply #5 on: December 13, 2014, 03:04:35 PM »
Uhm, isn't that just the regular Picasso96 monitor file renamed?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Gulliver

Re: Origin of the uaegfx monitor file
« Reply #6 on: December 13, 2014, 03:59:29 PM »
Quote from: Thomas Richter;779744
I don't know, likely not. I'm wondering who might have information and/or sources for the uaegfx.monitor file I need to put into DEVS:Monitors to be able to use the emulated uaegfx card of UAE for RTG screens in UAE. I thought it might be part of the P96 source tree, but it isn't. Somebody else must have implemented this, but I don't know who and whom to ask.

You should ask Toni Wilen, I believe he was one of the authors.
He is currently reachable on the EAB Amiga forum, where he is very active.
He moderates the WinUAE section over there
http://eab.abime.net/forumdisplay.php?f=5
 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: Origin of the uaegfx monitor file
« Reply #7 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:
...
...
...

 

guest11527

  • Guest
Re: Origin of the uaegfx monitor file
« Reply #8 on: December 13, 2014, 07:00:46 PM »
Quote from: Ratte;779759
The file in devs : monitors is allways the same, it is a "startup"-code for the file in argument BOARDTYPE=xxxx.card

Yes, I know.... I wanted to put things simple. Yes, I'm really looking for the uaegfx.card sources. I wrote a mail to Tony, awaiting response.
 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: Origin of the uaegfx monitor file
« Reply #9 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.