Simple file manager written in C (Developers)
> Honestly, that kind of detection is somewhat tricky. I recommend making it
> possible to disable checking manually beforehand and/or override it
> manually via cmdline switch. (Testing is rarely exhaustive, and it's too
> easy to make mistakes.)
Good idea. The debugger uses its CPU detection for two purposes: Setting up the default machine type for the assembler and disassembler (can be overridden using the M0..M6 commands once at the command line), and determining whether to use the patches for 386+ operation or for non-386 operation during initialisation. (For lDebug here and FreeDOS Debug here. lDebug expanded these patch tables a lot.) Because the /C command line switch of lDebug only inserts into the command line buffer, which is read by the normal command line processing loop, it can't be used to override the init.asm decision on whether a 386 is present.
---
l
Complete thread:
- Simple file manager written in C - GizMo79, 13.09.2020, 15:25 (Developers)
- Simple file manager written in C - glennmcc, 15.09.2020, 03:20
- Simple file manager written in C - GizMo79, 15.09.2020, 13:55
- Simple file manager written in C - RayeR, 23.09.2020, 04:15
- Simple file manager written in C - tkchia, 27.09.2020, 18:28
- Simple file manager written in C - RayeR, 30.09.2020, 23:23
- Simple file manager written in C - GizMo79, 06.12.2020, 17:33
- Simple file manager written in C - GizMo79, 29.09.2020, 22:15
- Simple file manager written in C - RayeR, 30.09.2020, 02:04
- Simple file manager written in C - GizMo79, 30.09.2020, 12:41
- Simple file manager written in C - Rugxulo, 01.10.2020, 01:10
- Simple file manager written in C - GizMo79, 01.10.2020, 10:20
- Simple file manager written in C - ecm, 06.10.2020, 23:18
- Simple file manager written in C - Rugxulo, 09.10.2020, 07:37
- Simple file manager written in C - ecm, 09.10.2020, 18:52
- Simple file manager written in C - Rugxulo, 09.10.2020, 07:37
- Simple file manager written in C - Rugxulo, 01.10.2020, 01:10
- Simple file manager written in C - GizMo79, 30.09.2020, 12:41
- Simple file manager written in C - RayeR, 30.09.2020, 02:04
- Simple file manager written in C - tkchia, 27.09.2020, 18:28
- Simple file manager written in C - RayeR, 23.09.2020, 04:15
- Simple file manager written in C - GizMo79, 15.09.2020, 13:55
- Simple file manager written in C - glennmcc, 15.09.2020, 03:20