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 - Jochen Schäfer

Pages: 1 2 3 [4] 5 6 ... 23
46
Applications / Re: ArcaOS 5.1 - First Impressions
« on: August 30, 2023, 11:43:22 am »
The other incorrect assumption is that "something" would automatically convert your disk to GPT even though such a feature isn't mentioned in the documentation nor does it appear in the installer's UI.. As it happens, the only known OS/2-based MBR to GPT converter is sitting here on my hard drive. I offered it to one of AN's principals but he declined the offer because he couldn't imagine a reason someone would want such a thing. Sad but true...
If you assume, that someone would update to 5.1, i.e. on a working system, but then would have leave MBR as it is, then yes, you don't need the tool.
But I really don't want to reinstall my development machine, just to have GPT partition. On the other, hand, the only way to also have Windows 10, Linux and MacOS (!) on the T480, was to install a second flash drive just to have ArcaOS on it and have my boot manager reboot through the BIOS to have boot the MBR disk.
I would be happy to test your tool.

To finish your CSM->EFI conversion, you just need to create the EFI partition. Here's how:
* boot up yur new install using the USB strick
* open MiniLVM
* select System->Create EFI partition; follow the instructions
* select System->Boot Menu->Install/Update; follow the instructions
* eject the USB stick and reboot - you should get the AN Launcher menu (i.e. AN's EFI boot manager)

Edit: MiniLVM offers these options for a GPT disk. I _assume_ they're also available for MBR disks. If not, it's still easy to create a bootable EFI partition - you just have to copy some files.
Do you know, whether the EFI files installed via MiniLVM are the same as the ones on the USB stick?

47
Applications / Re: ArcaOS 5.1 - First Impressions
« on: August 29, 2023, 07:20:05 pm »
Hello

Seems that I have to relearn more things about the PC with UEFI.

"The EFI (Extensible Firmware Interface) system partition or ESP is a partition on a data storage device (usually a hard disk drive or solid-state drive) that is used by computers having the Unified Extensible Firmware Interface (UEFI). When a computer is booted, UEFI firmware loads files stored on the ESP to start installing operating systems and various utilities. "
Source: Wikipedia.

Is that ESP partition optional or mandatory on the HDD for an UEFI install?

Regards
You need some ESP partition to boot from, but it hasn't to be on the same disk, as the system you want to boot.

48
Applications / Re: ArcaOS 5.1 - First Impressions
« on: August 29, 2023, 05:38:11 pm »
I did a test update on my T420 and that worked great, but the installer doesn't switch the disk to GPT and doesn't add an EFI boot partition, but installs the EFI drivers.
So, I can boot via CSM or EFI (via the USB stick) and in EFI mode Win/OS2 will start.
I didn't test yet to convert the disk with Linux (GParted, DFSEE wants to delete all your partitions for the conversion) and add the EFI partition to it.

ArcaOS 5.1.0. is new to every one. But I think some things are being mixed up here.
What do you mean with the term ?   "ïnstalls EFI driver" does "not add the EFI boot partition".
You see that is not possible best I can tell.  If you have no EFI ESP partition and the UEFI loader is not presebt ArcaIS will not boot.
Open a ticket at https://mantis.arcanoae.com and attach testlog generic.
In parallel you can upload your testlog here as well.


Roderick
I booted the USB from EFI, so the installer knew, that EFI is enabled. The update then adds some entries to config.sys like VEFI.
You still can boot from CSM, but the new driver will generate startup errors, which is to expected.
But you are wrong, if you say, you can't boot ArcaOS without the ESP partition. It's definitely possible.

49
Applications / Re: ArcaOS 5.1 - First Impressions
« on: August 29, 2023, 09:36:31 am »
I did a test update on my T420 and that worked great, but the installer doesn't switch the disk to GPT and doesn't add an EFI boot partition, but installs the EFI drivers.
So, I can boot via CSM or EFI (via the USB stick) and in EFI mode Win/OS2 will start.
I didn't test yet to convert the disk with Linux (GParted, DFSEE wants to delete all your partitions for the conversion) and add the EFI partition to it.

50
General Discussion / Re: when will version 5.1 of ArcaOS be released
« on: August 28, 2023, 10:36:44 am »
Yes, most likely everybody wants that. It would be better to just wait a day, so that the load on the site can subside.

51
General Discussion / Re: when will version 5.1 of ArcaOS be released
« on: August 27, 2023, 01:55:53 pm »
The site works again.

52
Programming / Re: Filling Comboboxes
« on: August 23, 2023, 12:28:47 pm »
Thanks

53
Programming / Re: Filling Comboboxes
« on: August 23, 2023, 11:09:43 am »
Thanks, Lars. I feel a little silly, for only checking the non-static items.

While we are at it:
I couldn't find a message to do this, but how can I  programmatically change a static text? If it is not possible with SS_TEXT, how else could I do it?

54
Programming / Re: Filling Comboboxes
« on: August 22, 2023, 10:03:49 am »
The most likely cause is a dialog-ID mismatch resulting in a null hwnd (or less likely, the wrong hwnd). A null string (i.e. "") is also a possibility. Use an fprintf() immediately before the failing call  to confirm, e.g.

Code: [Select]
fprintf(stderr, "hwnd= %x  str= %x - %s\n), launcher.listIWAD, iwadname, (iwadname ? iwadname : "null");

Run the app using "xxx.exe 2>&1 | tee"

FWIW... there's no need to suplpy a log file name if using GNU 'tee' (unless you want a log).
All the handles are not null. I also used WinSendDlgItemMsg, but actually none of the LM_INSERT messages fail. They all return 0 as index, which should be valid value.
For the IDs, I used constants, so I can avoid ID mismatches.
I put the code in an extra branch:
Code: [Select]
https://github.com/josch1710/prboom-plus-os2/tree/launcher.
The resource files are in prboom2/ICONS/ and the C code is in prboom2/src/os2_launcher.c

55
Programming / Re: Filling Comboboxes
« on: August 21, 2023, 10:57:03 am »
@Lars: Unfortunately, putting the comboboxes in (a) group(s) didn't help. The attributes are all the same.

56
Programming / Filling Comboboxes
« on: August 20, 2023, 11:17:27 am »
I have the launcher dialog for PrBoom+ setup with the appended RC file (compiled with WRC) inside the WM_INITDLG call.
I try to fill a combox with LM_INSERTITEM, but the strings are not displayed, while not returning. The code, I use is like this:
Code: [Select]
WinSendMsg(launcher.listIWAD, LM_INSERTITEM, MPFROMSHORT(LIT_END), MPFROMP((PSZ)iwadname))launcher.listIWAD is the handle of the control fetched by WinWindowFromID. iwadname is a char array filled with the display string.
The strange part is that I can fill the command combobox and the files listbox, but not the games and the history comboboxes.
I tried to send the messages by calling WinSendDlgItemMsg or converting the combobox into a listbox. No changes.

Does anyone have a clue, whats going on here?

57
Programming / Re: Strange behaviour in SDL2
« on: August 20, 2023, 11:01:58 am »
Yeah, that was my problem, which started this thread. I'm seeing the  DART device being opened, but the callback for filling the samples never gets called, so there is no sound.
But when some other sound event, like the volume knob or a sound notification, triggers the callback.

58
Games / Re: PrBoom+
« on: August 19, 2023, 10:06:03 am »
This https://share.icloud.com/photos/0b7c7rSdylbdGRgIbMJAGde_g shows a teaser of the launcher, I’m working on.

59
Programming / Re: Compiling a SDL Game (2023)
« on: August 18, 2023, 04:56:49 pm »
Redirect stdout and stderr to a file. By habit I do "rocksndiamonds 2>&1 | tee rocksndiamonds.log" as I always forget the other way without tee.
Exactly what I did with FeatherPad.

60
Programming / Re: Strange behaviour in SDL2
« on: August 17, 2023, 05:06:45 pm »
2.6.66 is compiling and running just fine. As I said before, I'm working on the launcher dialog. When I'm done, I will drop a new binary.

Pages: 1 2 3 [4] 5 6 ... 23