Openboot Fcode Dropin example?
#1
Openboot Fcode Dropin example?
Longshot but figured I'd ask has anyone ever seen a FCode dropin Example for Openboot or Openbios? If you every come across such a thing I'd love to see it.
I'm talk pure Fcode that you could enter into the NVRAMRC and then call at boot.

-Mike
mgtremaine
Octane

Trade Count: (0)
Posts: 53
Threads: 6
Joined: May 2018
Find Reply
06-25-2020, 08:36 PM
#2
RE: Openboot Fcode Dropin example?
Added just for my own notes...


On Ultra 5/10 these dropins exist

ok .dropins
Name Length Expansion Checksum
OBP 243268 0 3357
keyboards 3056 0 4910
fonts 2806 0 27526
class060400 1172 0 55615
pci108e,1001 12878 0 38485
class010100 4658 0 22599
pci1000,f 9726 0 15163
pci1002,4750 12184 0 52472
pci1002,4754 6758 0 4315
POST 291856 0 38073
obdiag 64664 0 14494


The "class010100" is the generic IDE driver. This is the one I really really want to see or figure out how to tweak.

I can make a class018000 via the nvramrc

2: : class018000
3: " class010100" do-fcode
4: ;

This creates an IDE device for my card fine and the child devices are found (disk and cdrom) BUT the children can't seem to do DMA2+

the Disk has output from the block-size and max-transfer equal to the internal IDE bus.

ok see block-size
: block-size
(f00875d8)
;
: max-transfer
(f00875d8) 40 *
;


But that might be red-herring... If I could just see the fcode source on class010100 I'm sure I got fumble through a fix.

-Mike
mgtremaine
Octane

Trade Count: (0)
Posts: 53
Threads: 6
Joined: May 2018
Find Reply
06-27-2020, 09:15 PM
#3
RE: Openboot Fcode Dropin example?
If you know the start address and length of the snippet isn't it possible to dump the binary part into some file and use the detokenize tool to get the FCODE source?

-- Stephan
escimo
SPARCstation 2

Trade Count: (0)
Posts: 43
Threads: 2
Joined: Jun 2018
Find Reply
07-04-2020, 08:35 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)