1
Programming / Re: ClassiCube porting thread
« on: November 09, 2024, 02:08:30 am »
A couple of jar files and bunch of sound files
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
May also be worth remembering that Shift+Delete will Cut selected text in an entryfield and Shift+Insert will Paste it elsewhere - don't forget to paste it back into the original entryfield if it is needed there :-)
In DOSBOX, drive is a char array, but on DOSBOX-X it seems to be a struct or object. So, there is some work to do.
FSINFO fsinfo;
ULONG drivenumber = drive[0];
if (drivenumber > 26) { // drive letter was lowercase
drivenumber = drive[0] - 'a' + 1;
}
APIRET rc = DosQueryFSInfo(drivenumber, FSIL_VOLSER, &fsinfo, sizeof(FSINFO));
if (rc == NO_ERROR) {
bool cdrom = false;
Whereas with DosBox-x, the error is,drive_cache.cpp: In member function 'void DOS_Drive_Cache::SetBaseDir(const char*, DOS_Drive*)':
drive_cache.cpp:159:32: error: cannot convert 'DOS_Drive' to 'ULONG' {aka 'long unsigned int'} in initialization
159 | ULONG drivenumber = drive[0];
| ~~~~~~~^
| |
| DOS_Drive
drive_cache.cpp:161:32: error: no match for 'operator-' (operand types are 'DOS_Drive' and 'char')
161 | drivenumber = drive[0] - 'a' + 1;
| ~~~~~~~~ ^ ~~~
| | |
| | char
| DOS_Drive
--prefix=/dosbox-x --enable-sdl2 LDFLAGS="-Zomf -Zhigh-mem -lcx"
Hi Dave
Let me know I added correctly the HardwareID on the device, or I'm confused there?
- https://www.os2world.com/wiki/index.php?title=EagleTec_Mechanical_Keyboard_KG010
Which one is the mouse? This one? https://www.cyberpowerpc.com/store/item/mo-131-302
Rich thanks for clarification.
I tried to setup this new 8TB drive with MiniLVM as GPT but couldn't find out how to do. Maybe I have to create an EFI partition there? But I've already 2 EFI partitions on other drives. I really tried with MiniLVM but it does not work (for me). I can't convince MiniLVM to create a GPT layout. I also can't add another 2TB partition on this 8TB drive with MiniLVM cause there is no free space anymore. PTE can't do this too.
PTE - looks a bit strange cause the big font. But it worked for at least one nearly 2TB partition.