Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
53 user(s) are online (41 user(s) are browsing Forums)

Members: 0
Guests: 53

more...

Support us!

Headlines

Forum Index


Board index » New posts




Re: pegasos2: rom reconstruction
Quite a regular
Quite a regular


@kas1e
Very nice progress!

It's great that you're able to fix old bugs and missing things and improve our hardware.
And may I ask what the advantage is of having a GeForce 2 driver?
Wouldn't it be more beneficial to have a Radeon R300 driver in AmigaOS?

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top


Re: graphics drivers question
Not too shy to talk
Not too shy to talk


@Ami603

Yup its marked as Beta, so its still a work in progress.

Go to top


Re: Make May AI Data-type month for OS 4
Amigans Defender
Amigans Defender


@PetrolQuote:
Petrol wrote:@Chris

Will it be possible to add more features, like gradients, transparency, antialiasing, ... ?


Antialiasing I made a conscious decision to use graphics.library rather than anything more sophisticated, so probably not.

Gradients and transparency - possibly, I'm unsure if libsvgtiny supports them.

Go to top


Re: graphics drivers question
Just popping in
Just popping in


@derfs

Just compiled your driver and tested it on qemu under debian 13,
the mouse pointer appears briefly with a bluish tint, then dissapears as soon as i click or move it, never to be seen again.
Tried both Virtio-gpu and virtio-gpu-gl,with same result.
I am using pegasos 2 version.CPU is AMD Ryzen 3 7320C with Radeon Graphics.

Go to top


Re: pegasos2: rom reconstruction
Home away from home
Home away from home


@smarkusg
Yes, USB boot was the first thing i add once make UHCI working better than original : you can use USB CD-ROM too btw, and not only on UHCI but also on EHCI and even OHCI :) It wasn't hard after CFE/x1000 patches once i realised that to make thing be visibly in amigaboot, all it's need it to be "block" device doesn't matter if it USB or CD or HDD/SSD/etc.

Currently USB boot is the heaven for me on pegasos2 for real tests: if not that, i had to boot always from CD which kind of unpossible for fast work.

Right now i need to deal with this "RTAS" issues so to make Radeon cards works over bridge on public kernel if possible, and then can make wide release of first version (also of course fixing what you find too)

To add some tease i also add basic support for NVidia cards into the firmware, and have output on AGP version of Geforce2, but, to make any use of it i also want ot make 2D driver for OS4 (that why i started this another topic). Without 3D of course, just some basic 2D stuff so to have WB on it, etc, as it's not main thing for now per se, but to just fill the gap so having output in firmware make sense in end of all :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: graphics drivers question
Home away from home
Home away from home


@smarkusg
The way how Falke did is pure vibe coding, the way how Derfs do is more looks like real programming even with help of AI : i check the logs of repo , and he did quite lot of work for 2 months : he does same as if me does it : disassembly RadeonRX, disasembly PCIGraphics.card, disassembly graphics.library, then used all the opensources variants of all possible related drivers (even no directly os4 ones), and he fully reconstruct private BoardInfo structure which is "closed sourced".

Also, he go the way how RadeonRX driver do : create 2 residents in one binary, one which patch PCIGraphics.card via setmethod so to add "gate" to add more cards to the PCIgraphics.card together with usage of full stuff from PCIgraphics.card, and another resident is actual code.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: graphics drivers question
Quite a regular
Quite a regular


@kas1e
I don’t know if this will be useful, but I’ve just remembered something…
Falke tried to do something along these lines using AI.
He couldn’t get a new graphics card to initialise via PCIGraphics.card
He created a separate virtovga.card. The graphics card did initialise and was visible in the system, but it couldn’t be started.

@jorg wrote about an entry in p96config in the bootloader and loading a new driver from there. I don’t think that worked.
screen - > https://ibb.co/bRybTDvc

Go to top


Re: pegasos2: rom reconstruction
Quite a regular
Quite a regular


@kas1e
I’ve been testing pegasos2_kas1e.rom a bit more under QEMU
From what I’ve noticed, it’s possible to boot the AOS4 system from USB
It’s also possible to boot Linux from USB... if anyone’s interested, I’ll post a description of my test.
Here is the description:
The QEMU command
qemu-system-ppc -machine pegasos2 -rtc base=localtime   -serial stdio  -vga none  -bios ./pegasos2_kas1e.rom   -netdev user,id=mynet0  -device virtio-net-pci,netdev=mynet0 -drive format=raw,if=none,id=usb0,file=testpegU2.hdf -device usb-storage,drive=usb0 -device ati-vga,model=rv100,vgamem_mb=128,guest_hwcursor=on,romfile=""

testpegU2.hdf = RAW image. On actual hardware, you can connect the system drive via an IDE-to-USB adapter to a USB port – the result will be the same.

show-devs
Pegasos BIOS Extensions Rewrite Copyright 2026 by kas1e.
All Rights Reserved.
Auto-boot in 0 seconds press ESC to abortENTER to boot
errorerror while trying to load or boot
ok  show
-devs
/ (chrp)
/
openprom
/openprom/client-services
/aliases
/options
/packages
/packages/terminal-emulator
/packages/deblocker
/packages/disk-label
/packages/obp-tftp
/chosen
/memory@(memory)
/
cpus
/cpus/PowerPC,74x7 (cpu)
/
cpus/PowerPC,74x7/l2-cache (l2-cache)
/
cpus/PowerPC,74x7/l3-cache (l3-cache)
/
rtas
/failsafe (serial)
/
ethernet
/ethernet/port1 (network)
/
pci@80000000 (pci)
/
pci@80000000/host@0
/pci@80000000/ethernet@1
/pci@80000000/display@(display)
/
pci@80000000/usb@C,(usb)
/
pci@80000000/usb@C,(usb)
/
pci@80000000/usb@C,3/scsi@(scsi)
/
pci@80000000/usb@C,3/scsi@1/disk@0,(block)
/
pci@80000000/isa@(isa)
/
pci@80000000/isa@C/serial@i2F8 (serial)
/
pci@80000000/isa@C/8042@i60 ()
/
pci@80000000/isa@C/keyboard@i60 (keyboard)
/
pci@80000000/isa@C/rtc@i70 (rtc)
/
pci@80000000/isa@C/timer@i40 (timer)
/
pci@80000000/isa@C/fdc@i3F0 (fdc)
/
pci@80000000/isa@C/lpt@i3BC (lpt)
/
pci@80000000/ide@C,(spi)
/
pci@80000000/ide@C,1/cdrom@1,(block)
/
pci@80000000/other@C,4
/pci@80000000/sound@C,5
/pci@80000000/pci1106,3068@C,6
/pci@C0000000 (pci)
/
pci@C0000000/host@0
/bootconsole (display)
ok


assigns itself data under the alias ‘usb’
devalias usb /pci@80000000/usb@C,3/scsi@1/disk@0,0,0

boots the system via the command line
boot usb:0 amigaboot.of

The system boots from USB and works fine

full kernel debug
Booting configuration AmigaOS_4.1_Final_Edition
RTAS instantiate base
=01E555C0 size=00002A90 blob=00002A90 src_hash=E220CAD1 dst_hash=E220CAD1 words=7CA802A6 48000225 4800011D 480000ED
graphics
.library AltiVec/VMX enabled
graphics
.library PPC74xx optimizations enabled
peg2ide
.device 53.22 (28.6.2017)
[
peg2ide/dev_initXfer modes forced in $peg2ide_xfer FFFF
[peg2ide/dev_initIRQ modes forced in $peg2ide_irq 1111
[peg2ide/dev_initFound chip #0
[peg2ide/init_port] ---> Port 0
[peg2ide/init_portIOBase 00001040AltBase 0000104E
[peg2ide/init_portbmcr_base 00001060
[peg2ide/init_portMMIOBase 00000000
[peg2ide/init_portConfig not forcedscanning port 0...
[
peg2ide/reg_configassuming device 0 is TYPE_NONE
[peg2ide/reg_configassuming device 1 is TYPE_NONE
[peg2ide/reg_configthere is no device 0 (sc 00 sn 00)
[
peg2ide/reg_configthere is no device 1 (sc 00 sn 00)
[
peg2ide/init_port0 device(son port
[peg2ide/init_port] ---> Port 1
[peg2ide/init_portIOBase 00001050AltBase 0000105E
[peg2ide/init_portbmcr_base 00001068
[
peg2ide/init_portMMIOBase 00000000
[peg2ide/init_portConfig not forcedscanning port 1...
[
peg2ide/reg_configassuming device 0 is TYPE_NONE
[peg2ide/reg_configassuming device 1 is TYPE_NONE
[peg2ide/reg_configthere seems to be a device 0assuming TYPE_UNKN
[peg2ide/reg_configthere seems to be a device 1assuming TYPE_UNKN
[peg2ide/reg_configdevice 0 is ATAPI
[peg2ide/reg_configdevice 1 is unknown (sc 01 sn 01 cl FF ch FF st 00
[peg2ide/init_port1 device(son port
[peg2ide/port_list]  0 Master 'ATAPI'
[peg2ide/port_list]  1 Slave  'unknown type'
[peg2ide/init_portStarting 'peg2ide.device - chip 0 port 1' task
[peg2ide/init_unitTrying to configure unit 2
[peg2ide/ata_read_drive_propertiesAdjusting unit 2 to xfer mode 69
[peg2ide/init_unitUnit configuredflags $011D
[peg2ide/init_unitTrying to configure unit 3
[peg2ide/ata_read_drive_propertiesAfter-reset signature invalid for unit 3
[peg2ide/init_portPort 1 task started
[peg2ide/dev_initAll done
it8212ide
.device 53.22 (28.6.2017)
[
it8212ide/dev_initNothing startedbailing out
lsi53c8xx
.device 53.22 (28.6.2017)
[
lsi53c8xx/dev_initNothing startedbailing out
sii0680ide
.device 53.22 (28.6.2017)
[
sii0680ide/dev_initNothing startedbailing out
sii3112ide
.device 53.22 (28.6.2017)
[
sii3112ide/dev_initNothing startedbailing out
sii3114ide
.device 53.22 (28.6.2017)
[
sii3114ide/dev_initNothing startedbailing out
sii3512ide
.device 53.22 (28.6.2017)
[
sii3512ide/dev_initNothing startedbailing out
[mediabootDiskboot is presentSkip mounting static devices.
[
USBWARNING "MassStorage Device Task" "Massstorage" Created usbdisk.device/0
[bootmenuDetected machine type Pegasos II
[bootmenuNo preferred BootDevice specified
[bootmenuPreferred keyboard device is "keyboard.device" unit 0
[bootmenuPeekQualifier(): LMB is upMMB is upRMB is up
[bootmenuInput handler installed
[bootmenuWaiting 100 ticks for user input
[bootmenuNo user input detected within wait loop
[bootmenuRemoved input handler
[bootmenuPeekQualifier(): LMB is upMMB is upRMB is up
[bootmenuContinuing normal boot sequence
[strapBegin
[strapSkipping non-boot node 0x6FFA83E2 (type 111)
[
strapSkipping non-boot node 0x6FFFD760 (type 0)
[
strapDevice node "DH0" is boot point device
[strapHandover to dos for "DH0"

[DOSStarting DOS 54.136 -- Kernel debug level is 5
[DOSBootnode from expansion->mountlist is device name "DH0" 
[DOS"Initial CLI" process starteddoslib creation task now ending.

[
RAMHandler has started successfully. [DebugLevel=5]
No CMI8738 found! :-(
CS4281 DRIVERINIT
No card present
.
[
VIA-AC97Errorsoft resume timed out!
No SOLO_ONE found! :-(
No SB128 found! :-(
No FM801 found! :-(
No Envy24 found! :-(
[
DOS LCPReceived ACTION Type 31.
[DOS LCPINHIBITED ON.
[
DOS LCPReceived ACTION Type 31.
[DOS LCPINHIBITED OFF.
[
DOS LCPReceived ACTION Type 31.
[DOS LCPINHIBITED ON.
[
DOS LCPReceived ACTION Type 31.
[DOS LCPINHIBITED OFF.
[
DOS LCPReceived ACTION Type 31.
[DOS LCPINHIBITED ON.
[
DOS LCPReceived ACTION Type 31.
[DOS LCPINHIBITED OFF.

Resized Image
przesyłanie zdjęć bez kompresji

Go to top


Re: graphics drivers question
Home away from home
Home away from home


But those private boardinfo restructurisation are fine already? Just want to use it for my tests

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: graphics drivers question
Not too shy to talk
Not too shy to talk


@kas1e

currently no, as its full of debug and not optimized. Its at the 'get anything working' stage.

Go to top


Re: graphics drivers question
Home away from home
Home away from home


@derfs
Cool!

If description generated by AI on your link is correct then you do it exactly same way as radeonrx : patching pcigraphics by setmethod. I also see you alreade restructure private boardinfo structures, that nice :)

Btw, is your virtuogpu fast in 2d in compare with any other emulated card ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: graphics drivers question
Not too shy to talk
Not too shy to talk


@kas1e

Thats how im doing it - see https://github.com/derfsss/VirtIOGPU

The other way is to fake it and add your driver as a known entry.

Go to top


graphics drivers question
Home away from home
Home away from home


@All (but mostly Balaton and Joerg):

Want to play with graphics drivers a bit to understand how it all works on low level, and so far found that PCIgraphics.card contain hardcoded list of supported graphics cards (by name of *.chip files or by vendor/ids value?) and adding any new card which not in, can be done or by creating new xxxx.card, or by patching PCIGraphics.card. That correct ?

I just grep on strings inside of PCIgraphics.card, and found those:

Picasso96/%s
RadeonHD
.chip
ATIRadeon
.chip
3dfxVoodoo
.chip
3DLabsPermedia2
.chip
SiliconMotion502
.chip


So, like anything else is out and if i want to add any new vendor/id/driver-name i need to create own *.card file or patch PCIgraphics.card , right ?


What is interesting, is that PCIGraphics.card does not have RadeonRX.chip string, so that mean RadeonHd there only for supporting "lite" version of the driver which come with the OS4 installation.

I disassembly RadeonRX driver, and found that it do have 2 resident tags : RadeonRX.chip main code, and RXCardPatch cold-start resident. RXCardPatch runs early, and have high priority, so it scan/build RadeonRX card info, and then opens PCIGraphics.card , get its main interface and via SetMethod() replace FindCard() and InitCard(). Then, when time come and PCIGraphics.card runs, it's already patched and do what need to do.

So, the way to add any new card which is not in PCIGraphics.card is probably that one, right ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Home away from home
Home away from home


@Joerg
Quote:

Another tool which can display a lot of internal AmigaOS data, more than Ranger, is Scout, but since it wasn't updated since about 20 years anymore you have to be prepared that using about every 2nd function of it on current AmigaOS versions does illegal accesses and crashes.


But at least if it run's before on amigaos4 (i remember it too, it surely were working half way), it can be fixed. At least on aminet i surely see scout_os4 from 2006 and scout_src.


Edited by kas1e on 2026/5/21 8:55:38
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top


Re: Make May AI Data-type month for OS 4
Just popping in
Just popping in


@Chris

Thanks.

Will it be possible to add more features, like gradients, transparency, antialiasing, ... ?


Edited by Petrol on 2026/5/21 5:51:21
Go to top


Re: Make May AI Data-type month for OS 4
Amigans Defender
Amigans Defender


@Petrol

Quote:
Petrol wrote:a SVG datatype


Way ahead of you (also no AI used).

https://aminet.net/package/util/dtype/drawing_dt

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@Maijestro

What do you mean by VAAPI support? Which SDL APIs are you referring?

Go to top


Apidya Special Edition
Not too shy to talk
Not too shy to talk


There recently has been some discussion on EAB on a potential Amiga port (the author of the game was also in the discussion).

I made a survey on it:

https://docs.google.com/forms/d/e/1FAI ... 4MHuXURq0aQSKkcA/viewform

Note on the 3 options: There are two versions of Apidya Source Code, one is hardware hacking AGA Code which only runs on Classic Amigas with AGA (or Emulation). It could theoretically be expanded to run the new game.

The other is the source of the PC version, highend code in C++ (actually not sure if this would work on a 060 so the option 2 is unsure technically).

Basically the question is "AGA or new systems". The author seems very much to be an AGA hardware hacking guy, but as he put the question up himselves, I made this survey to get a broader public than just EAB readers.

Go to top


Re: Make May AI Data-type month for OS 4
Just popping in
Just popping in


a SVG datatype

Go to top


Re: adding a "by AI" tag?
Just popping in
Just popping in


I think it would be excellent to include a note indicating that the software was developed with the assistance of AI.

Go to top



TopTop
(1) 2 3 4 ... 7701 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project