• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    KennyR
    Posts: 872 from 2003/3/4
    From: #AmigaZeux, Gu...
    Thomas' AmigaOberon code is interesting, as it uses GetDisplayInfoData() from the graphics.library. The MorphOS autodocs say that only returns

    Code:
     size   - buffer size in bytes
    tagID - data chunk type
    DTAG_DISP (DisplayInfo)
    DTAG_DIMS (DimensionInfo)
    DTAG_MNTR (MonitorInfo)


    The data is coming from struct MonitorInfo, namely the UWORD totalRows.

    It obviously works, but that's a really, really unclear way to fetch horizontal refresh in Hz! (For MorphOS I mean, not Thomas.)

    [ Edited by KennyR 01.08.2019 - 22:58 ]
  • »01.08.19 - 22:57
    Profile