Welcome, Guest. Please login or register.

Author Topic: How to grab a .device from memory?  (Read 2654 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline VultureTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 310
    • Show only replies by Vulture
How to grab a .device from memory?
« on: March 11, 2010, 06:37:59 PM »
Plz help me someone with this:

I want to grab blizzppc.device from memory to a proper file. Or maybe from the BlizzardPPC firmware update file? Is it possible somehow? If so, plz show me the way! Thanks!
« Last Edit: March 11, 2010, 07:53:28 PM by Vulture »
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: How to grab a .device from memory?
« Reply #1 on: March 11, 2010, 08:57:41 PM »
There's got to be an easier way than this that I'm unaware of, but... do you have a Deneb card or something that could be flashed to using the Lucifernin software? I'm thinking once you "grab" the virtual device, it could be flashed and then downloaded back onto your hard drive. Probably a clunky way of doing it, but there it is.... lol  

Question is, why would you need to do so?
 

Offline Dragster

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 1003
  • Country: mx
  • Gender: Male
    • Show only replies by Dragster
Re: How to grab a .device from memory?
« Reply #2 on: March 11, 2010, 09:18:04 PM »
Quote from: save2600;547251
do you have a Deneb card or something that could be flashed to using the Lucifernin software? I'm thinking once you "grab" the virtual device

Are you sure luciferin can grab a memory resident device? IIRC, it can't.

Cheers,

Dragster
Amiga 1200T 603/240, 060/50, SCSI II, Plextor 40/12/40S SCSI CDRW, Plextor 40X SCSI CDROM, Fujitsu 36GB 10KRPM SCSI HD, Pioneer 305S SCSI DVD, BVisionPPC, 256 MB FASTRAM, PowerFlyer EIDE, Scandex external scandoubler, ZIV busboard, Algor USB, Wireless, repulse audio...Peg II Quadruple boot: OS4.1FE/MorphOS 3.9 regged, OpenSUSE11.1 & Debian Squeeze, Powerbook G4 1139 MorphOS3.9, A4000D CSPPC/PIV/DENEB OS3.9/4.1FE, A4000T CSPPC/CVPPC/SCSI, etc.. 2
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: How to grab a .device from memory?
« Reply #3 on: March 11, 2010, 09:37:49 PM »
Quote from: Dragster;547253
Are you sure luciferin can grab a memory resident device? IIRC, it can't.

I just went to verify, but my Deneb card is now in a different machine and I've since zapped her contents. I could have sworn I had done just that when I was playing around with the virtual usbprinter.device or whatever it's called when getting TurboPrint to work with it. Unless I'm completely off my rocker, I thought I had seen that usbprinter.device or class? in the contents of my FlashROM after everything was up and running and had Luciferin grab all the devices and classes. That was months ago, so yeah - maybe my memory is faulty  :(
 

Offline VultureTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 310
    • Show only replies by Vulture
Re: How to grab a .device from memory?
« Reply #4 on: March 11, 2010, 09:42:05 PM »
Sadly, no, I don't have a deneb. The reason I want it for some experiments I'm doing with ppc devices, can't say much yet. If anyone can do it for me, or guide me how to rip it, I owe him big!
 

Offline Matt_H

Re: How to grab a .device from memory?
« Reply #5 on: March 11, 2010, 10:20:24 PM »
Quote from: save2600;547257
Unless I'm completely off my rocker, I thought I had seen that usbprinter.device or class?


Not completely off your rocker :)
I'm guessing you saw usbprinter.class, which in turn creates usbprinter.device in memory.



Back to the original problem, the only thing I can really think of is somehow grabbing the region of memory that the device is loaded into. Scout can probably help identify regions, but the whole process might be easier under emulation.

Not sure why you'd want to do this though. If the problem is that a program/utility needs a device name but insists on a disk-based file, there are workarounds, usually involving hex-editing a config file. Works for Envoy :)
 

Offline VultureTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 310
    • Show only replies by Vulture
Re: How to grab a .device from memory?
« Reply #6 on: March 11, 2010, 10:39:14 PM »
@matt_h

thx for your reply. No, I actually need the device file itself to try some things I'm working on. Scout shows the address the device is loaded, but unfortunately there's no size info to try and grab it from address x to address y.
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show only replies by platon42
    • http://www.platon42.de/
Re: How to grab a .device from memory?
« Reply #7 on: March 11, 2010, 10:48:13 PM »
Quote from: Vulture;547224
Plz help me someone with this:

I want to grab blizzppc.device from memory to a proper file. Or maybe from the BlizzardPPC firmware update file? Is it possible somehow? If so, plz show me the way! Thanks!


You can't. Or at least not easily. The devices normally are PC relative or use a custom relocation scheme to execute itself from the bootrom or after being copied to ram. This means that in 99% of the cases you will not be able to create a relocatable DOS executable from a rom content. Doobrey has spent ages in manually obtaining the relocation information for the Kick 3.1 rom to create custom roms with RomSplit and Remus.

The Deneb stores its files in original DOS Hunks in the flashrom. The bootloader then simulates the LoadSeg operation to do the relocation into fast ram. I wouldn't expect other bootroms doing this rather complex job.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline amigagr

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1454
    • Show only replies by amigagr
    • http://www.amigahellas.gr
Re: How to grab a .device from memory?
« Reply #8 on: March 11, 2010, 11:25:37 PM »
but piru managed somehow to split rom3.1 parts and use them as plugins in his amazing blitzkick...
A3040/25 AmigaOS 3.9
A1260BPPC AmigaOS 3.9/4.0
Sam440ep AmigaOS 4.1.2
PegasosII/G3 AmigaOS 4.1.2/MorphOS 2.7/Debian 5.0.7/SUSE 11.1
MacMini/G4 1.5 MorphOS 2.7/OSX 10.5.8
Long Live Amiga

If i am going to have bugs on my system,
at least let me keep the latest versions.
Neil Bothwick
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show only replies by platon42
    • http://www.platon42.de/
Re: How to grab a .device from memory?
« Reply #9 on: March 11, 2010, 11:38:38 PM »
Quote from: amigagr;547281
but piru managed somehow to split rom3.1 parts and use them as plugins in his amazing blitzkick...


The boing bag updates are normal LoadSegable files concatenated into a single "archive".

I didn't say it is impossible. It just takes some good experience and skills and some time to do.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline VultureTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 310
    • Show only replies by Vulture
Re: How to grab a .device from memory?
« Reply #10 on: March 12, 2010, 07:57:19 AM »
@platon42

Thx for the detailed reply, I've contacted Doobrey and asked him about it and he may help me with this.


So, thx everyone!