feos

images

May 8th, 2020 (edited)
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.53 KB | None | 0 0
  1. <feos> slamo Dacicus: we've had this talk in #bizhawk yesterday https://pastebin.com/aDYCUPjE
  2. <feos> not that it makes pcemhawk happen any sooner, but it's about an important problem that hasn't been resolved yet.
  3. <feos> what are the medium types that pcem may require for tasing, and their filetypes that it supports? does it need files-in-a-folder setups? or maybe files-in-a-folder it just packs into an image file, like jpc-rr does?
  4. <feos> also medium combinations that may be required at once
  5. <Dacicus> Do you mean medium types like floppy, hard disk, CD?
  6. <Dacicus> Just looking through the menus in PCem, it apparently also supports Zip drives and tape drives.
  7. <Dacicus> File formats: Hard disk: IMG. Floppy: IMA, IMG, FDI. Zip drive: IMG. CD-ROM: ISO, CUE. Tape: PZXI, PZX.
  8. <Dacicus> There's also the option to use the host system's CD drive.
  9. <feos> for determinism I think we don't want the emu to access the host itself and its devices directly, so that last option can be ignored
  10. <Dacicus> Combos that I've personally used: HD + 1 floppy, HD + 2 floppies, HD + CD, HD + 1 floppy + CD, CD without anything else. I don't think any of the emulated machines support 2 different CD drives, but that would have simplified some of the Tiny Core installation steps. Basically, 1 for the TC ISO and 1 for the ISO with FP/Java/whatever dependencies.
  11. <Dacicus> oops, CD without anything else isn't a combo
  12. <feos> looks like we need to support arbitrary combos, but it won't have to access entire folders, only image files
  13. <feos> do you know which of those images it can create?
  14. <Dacicus> HD for sure.
  15. <feos> from just a folder, right?
  16. <Dacicus> AFAIK, PCem itself only creates blank images. It's also got an option to create floppy images of various capacities.
  17. <Dacicus> Floppy options range from 160kB to 2.88 MB, and then there's 100 MB (Zip). Looks like you can save it as IMG or IMA.
  18. <feos> looks like we'd require all the setup instructions, like with libtas, and then also put image hashes into movie
  19. <Dacicus> For getting things from the host computer onto the disk image, I use ImDisk for floppies and some program that came with this computer for ISOs.
  20. <feos> as xml, like the one disk builder creates
  21. <Dacicus> yay, upload is done
  22. <Dacicus> There's this thread on the PCem board that has info about some type of networking setup that may allow direct(?) transfers between host and guest: https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=2&t=3221
  23. <Dacicus> IDK much about networking, so haven't tried anything like that.
  24. <Dacicus> May not be desirable from a determinism standpoint, though.
  25. <feos> as a preparation, will likely be fine
  26.  
  27. <slamo> feos: i had planned on streamlining the PCem setup as much as possible
  28. <slamo> we can supply the following:
  29. <slamo> pre-made hard drive image with freeDOS pre-installed on it. will probably start at 50 MB, with various other sizes available as needed. most of this is empty space so it will compress well
  30. <slamo> a PCem config file, user will have to edit in their file paths for images
  31. <slamo> and a BIOS settings file
  32. <slamo> theoretically you can copy + paste all this stuff and boot directly into a working environment
  33. <slamo> Nach also had a good idea about providing different setups based on the era, like having a 1985 setup, 1990 setup, etc
  34. <Nach> I stand by it
  35. <slamo> basically the only thing the user has to do is put their game on the hard drive
  36. <Nach> for a ~2000 DOS setup, you probably need more like a 500MB HD for some games
  37. <Nach> and maybe even 2GB if we eventually do Windows (is ReactOS good?)
  38. <slamo> they could either provide hashes for the installation media + instructions, or give us info about the files like we've been doing with JPC-rr submissions
  39. <Nach> I expect the DOS ones to all compress well
  40. <Nach> DOS even with some mouse, audio, and CD drivers only amounts to a couple of MB
  41. <slamo> my 100 MB freedos hard drive image compresses to about 3.5 MB
  42. <Nach> exactly
  43. <Nach> and if you pack on important stuff on there like various extenders, vga doctor, or whatever, it still won't get much larger
  44. <Nach> https://web.archive.org/web/20060118061752/http://www.scitechsoft.com/products/ent/free_titles.html
  45. <Nach> https://retrosystemsrevival.blogspot.com/2019/05/scitech-display-doctor-7.html
  46.  
  47. <feos> slamo: thanks. bios settings file is used by pcem too? or added somewhere?
  48. <slamo> bios settings are saved for each configuration in the nvr folder
  49. <feos> by pcem?
  50. <slamo> yup
  51. <feos> can it be a huge file?
  52. <slamo> it's 1 KB
  53. <feos> do we ever need to edit it manually?
  54. <slamo> what do you mean by that? via a text editor?
  55. <feos> ye
  56. <slamo> it's gibberish if you open it in a text editor, you need to change it through pcem
  57. <feos> good
  58. <feos> so it's binary
  59. <slamo> yes
  60. <feos> and in pcem it's just options too, or you type in stuff?
  61. <feos> I guess it's edited by actually using the guest machine
  62. <slamo> you actually do it through emulation
  63. <slamo> by pressing DEL at the POST screen
  64. <feos> sounds like how emulators work with sram
  65. <slamo> like i showed in the tutorial
  66. <feos> that file is a part of emulation itself, and on actual machine it won't appear from editing bios?
  67. <slamo> right, it doesn't manifest itself as a file within the disk image
  68. <slamo> if you get rid of the nvr file, it just uses BIOS defaults
  69. <feos> I mean if I edit host bios, that file isn't present on the host machine in any form?
  70. <slamo> right
  71. <feos> like, that file is just a simulation
  72. <slamo> the file only exists on your real computer
  73. <feos> sounds like sram indeed
  74. <slamo> pretty much
  75. <slamo> the only things it's used for here are detecting storage media and boot order, but those are important things
  76. <feos> when the game writes to hdd, does that edit the file or stores the diff separately?
  77. <slamo> it shouldn't, let me make sure
  78. <feos> or floppy
  79. <slamo> looks like it edits the nvr file every time the system is shut down? might be clock related
  80. <slamo> we don't have to worry about this anyway since libtas doesn't change the original files
  81. <slamo> although, when you're installing your game outside of libtas the nvr file will change, so everyone's will be slightly different
  82. <slamo> different from the one we supply i mean
  83. <slamo> unknown if this will affect sync at all
  84. <slamo> if it does, we just have them supply theirs
  85. <feos> I mean if this ever gets into hawk, it may not be able to intercept the core writing to files on disk directly
  86. <feos> mame and fs-uae store image diffs separately for example
  87. <slamo> for casual use that's fine, but obviously for TASing we want the original files to stay the same
  88. <feos> yup
Add Comment
Please, Sign In to add comment