Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Simple file manager written in C (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 09.10.2020, 18:52

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

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 188 users online (0 registered, 188 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum