Currently my DOS tool doesn't support physical memory access functions available for user but I want to add it.
I started to make a simple DOS tool to YMF7xx that can report some info according to PCI config regs. so I'm able to find YMF on PCI bus and get the MMIO base address. So please be patient...

- Code: Select all
Yamaha YMF7XX configuration tool 1.0 (C) 2018 by Martin Rehak; raye****am.cz
Compiled by GCC 6.3.0 at 04:29:13, Dec 6 2018 (Win9x/NT/64 compatability)
Yamaha YMF724 was found at bus: 5, dev: 1, func: 0, VID: 1073h, DID: 000Dh
SERR: disabled, PERR: disabled, BusMaster: enabled, MMIO: enabled
MMIO base address: FBDF0000h, IRQ: 16, INTA, PCI status: 0210h
Legacy Audio: disabled, SB: enabled, DSP version: 3.01, IO decoding: 10-bit
SB I/O base address: 0220h, SB IRQ: 5 (legacy), SB DMA: 1 (PC/PCI)
FM-synth: enabled, FM I/O base address: 0388h
MPU401: enabled, MPU401 I/O base address: 0330h, MPU401 IRQ: 9
Gameport: enabled, Game I/O base address: 0201h
Master clk: on, PLL0: on, PLL1: on, LegacyAu0: on, LegacyAu1: on, PCI: on