Show Posts

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.


Messages - Dave Yeo

Pages: [1] 2 3 ... 337
1
Programming / Re: ClassiCube porting thread
« on: November 09, 2024, 02:08:30 am »
A couple of jar files and bunch of sound files

2
Applications / Re: XWP 1.0.17: any availability date ?
« on: November 09, 2024, 01:47:58 am »

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  :-)

Ctrl-Insert to copy. These keys also work on Windows and usually in Linux.

3
Programming / Re: DOSBox-x - infinite loop in configure/make
« on: November 08, 2024, 04:33:16 am »
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.

Yes, I should have looked at drives.h

4
Programming / Re: DOSBox-x - infinite loop in configure/make
« on: November 07, 2024, 07:03:01 am »
As an example. this code compiles fine with DosBox,
Code: [Select]
    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,
Code: [Select]
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

5
Programming / Re: DOSBox-x - infinite loop in configure/make
« on: November 07, 2024, 06:25:13 am »
Hmm, revisited this and compared to DosBox, no EMXism's besides the -Zmt which is unneeded and ignored as kilbc is always muti-threaded. There's just various bad coding I think as DosBox compiles fine, DosBox-X is very strict with its flags and various of the OS/2 parts fail to compile.

6
Programming / Re: DOSBox-x - infinite loop in configure/make
« on: November 06, 2024, 05:56:27 pm »
I usually start with simple configure arguments, in this case,
Code: [Select]
--prefix=/dosbox-x  --enable-sdl2  LDFLAGS="-Zomf -Zhigh-mem -lcx"

The -lcx is optional at this time.
The configure script does a good job of figuring out the environment and finishes. Often I do have to add more configure options but not here, at least yet.
Make fails in src/dos/dos_programs.c with a bunch of errors. I worked on this a bit a few weeks back and decided I didn't really have the skills to fix. There's old OS/2 code that needs sorting as some is EMXism's and other fixes needed.

7
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 06, 2024, 03:53:46 am »
Getting there. Should mention that the two buttons behind the wheel adjust the speed on our system, it is really slow until the button immediately behind the wheel is pressed multiple times. At least with Amouse, haven't tried any other driver.
The keyboard page looks good.
Thanks.

8
Applications / Re: XWP 1.0.17: any availability date ?
« on: November 06, 2024, 03:49:20 am »
For copy and paste, just use mouse chords. Highlight with button 1, then while still holding button 1 down, press button 2, this will copy. The find where you want to paste, hold down button2 and then press button 1.
I think I got that right, it's automatic for me.

9
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 06, 2024, 01:04:17 am »
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

Yes that is the keyboard. Found yesterday the blue LED lighting can be turned off by pressing Fn-Scrlk and brightness adjusted by pressing Fn-Home. Sounds like the better models can use a couple of more keys to change the colour.

Quote
Which one is the mouse? This one? https://www.cyberpowerpc.com/store/item/mo-131-302

No, the web site don't work to well here, even with Dooble. Here's a picture, https://www.cyberpowerpc.com/images/MO/MO-131-101.png and another, https://techgage.com/wp-content/uploads/2017/03/CyberPowerPC-AMD-VR-Gaming-PC-Gaming-Mouse.jpg
I notice that the button to the left of the wheel is broken/missing on my mouse, might be the button to adjust the colours etc.

10
Programming / Re: DOSBox-x - infinite loop in configure/make
« on: November 05, 2024, 05:07:47 pm »
Better to edit configure.ac, about line 368 and remove the CXXFLAGS line, the -Zmt on the LDFLAGS line and add -Zomf -Zhigh-mem -Zbin-files there. There's also a hard dependency on sdl-net in configure.ac you might want to comment out.
Then run "bash autogen.sh" rather then sh autoreconf then try configure.
There's other emxism's in the source to watch out for as you go.

11
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 05, 2024, 04:30:29 am »
I picked up both at the local thrift store for a couple of bucks each.
The keyboard says it is an Eagletec mechanical keyboard, P/N ET-KG010 and the website it points at is for sale. Basic gaming keyboard that feels nice.
The mouse says it is a CyberPowerPC, usual 5 buttons supported by AMouse with the defaults, button 4 toggles scroll direction and button 5 pushes window to the background, both are on the side.
This mouse, after cold boot is really slow, there are 2 buttons behind the wheel that changes the DPI speed, press the one close to the wheel multiple times and the speed is fine. There's another button that when held slows it right down. These may be map-able with the right driver, guess that is why it also claims to be a keyboard. It's a nice feeling mouse.
 

12
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 05, 2024, 12:52:07 am »
I thought that some time back I posted my current computer, apparently not.
Lenovo ThinkCentre M910s, a good choice for running ArcaOS as it is barely too old to run Win 11 so available cheap. It's a small form factor. Everything works except windowed DOS/WinOS2 under legacy. Testlog attached.

13
Hi Andi, good things are working for you. Under Linux, the EFI partition is often mounted under /boot, forget the name of the directory it is mounted to.

14
Setup & Installation / Re: Switch from CSM to UEFI
« on: November 01, 2024, 10:08:03 pm »
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.

Too old of a minilvm? Note that the latest is called the "Installation Volume Manager" and seems to handle GPT fine.

15
Comments, Suggestions & Questions / Re: Another bad gif
« on: October 31, 2024, 03:40:34 pm »
Hi Martin, it is a combination of things. A bug in the code where some gif's are treated like they are animated, and due to our lack of support for the way that Mozilla started drawing the canvas during the vertical refresh cycle, the bug shows up on our platform more as excess CPU usage then other platforms. By the time Mozilla fixed the bug, the code base had changed too much to do a simple backport of the fix.
Other software displays the gif's fine including Firefox 38.

Pages: [1] 2 3 ... 337