This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
operating_systems:freedos [2022/03/15 04:14] nanodano [Explanation of files] |
operating_systems:freedos [2022/03/21 23:53] (current) nanodano [Dealing with JemmEx out of memory error] |
||
---|---|---|---|
Line 101: | Line 101: | ||
[[https:// | [[https:// | ||
- | Edit '' | + | Edit '' |
- | or try modifying the -X=TEST to -X=c900-dfff | + | Also refer to [[http:// |
+ | |||
+ | < | ||
+ | # Change from this | ||
+ | 1? | ||
+ | # to this | ||
+ | 1? | ||
+ | </ | ||
+ | |||
+ | ==== Dealing with unable to read hard disk error ==== | ||
+ | |||
+ | When you use '' | ||
+ | |||
+ | You can create one primary DOS partition | ||
===== How kernel boot works and fdconfig.sys ===== | ===== How kernel boot works and fdconfig.sys ===== | ||
Line 126: | Line 139: | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
Line 160: | Line 173: | ||
Built-in commands: | Built-in commands: | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
There are also built-in features like: | There are also built-in features like: | ||
Line 173: | Line 190: | ||
* History ('' | * History ('' | ||
* Tab completion | * Tab completion | ||
+ | * Aliases ('' | ||
+ | * Enhanced input | ||
- `ver`, `vol`, `mem`, `cls`, `which`, `path` | - `ver`, `vol`, `mem`, `cls`, `which`, `path` | ||
Line 202: | Line 221: | ||
Even in the most minimal install, you have '' | Even in the most minimal install, you have '' | ||
- | < | + | < |
+ | REM Add comments with REM. It stands for REMARK | ||
for %f in (*.ZIP) do unzip %f -x SOURCE/* -d d:\FreeDOS | for %f in (*.ZIP) do unzip %f -x SOURCE/* -d d:\FreeDOS | ||
+ | |||
+ | REM Turn off echo with: | ||
+ | @echo off | ||
+ | |||
+ | REM Set environment variables with set | ||
+ | set | ||
+ | </ | ||
+ | |||
===== Mounting USB & CD drives ===== | ===== Mounting USB & CD drives ===== | ||
Line 211: | Line 239: | ||
===== Get software ===== | ===== Get software ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | * [[https:// | ||
* [[http:// | * [[http:// | ||
Line 236: | Line 265: | ||
- Dialog | - Dialog | ||
- sqlite | - sqlite | ||
+ | - FDTUI (better than FDSHELL which runs at 100% cpu) - '' | ||
+ | - IMGEDIT '' | ||
+ | - pmge '' | ||
==== Installing manually in FreeDOS ==== | ==== Installing manually in FreeDOS ==== | ||
Line 284: | Line 316: | ||
Text Browser: Links C: | Text Browser: Links C: | ||
GUI Browser: Dillo C: | GUI Browser: Dillo C: | ||
+ | GUI Browser: Arachnae | ||
===== Programming ===== | ===== Programming ===== | ||
Line 290: | Line 322: | ||
=== Languages === | === Languages === | ||
- | - Lua: `C: | + | * Lua: '' |
- | - Assembly: | + | |
- | - BASIC: | + | |
- | - C: `bcc` (Bruce' | + | |
- | - Pascal: | + | |
- | == NASM == | + | == NASM hello world == |
- | Similar to the Linux hello world program except | + | Similar to the Linux hello world program except |
+ | |||
+ | == VGA programming == | ||
+ | |||
+ | Screen 13! How to do it in assembly with interrupt, and how to do it in BASIC with SCREEN 13. Where is the VGA memory location. It's as easy as writing to the memory location. | ||
== Lua == | == Lua == | ||
Line 305: | Line 341: | ||
== BASIC == | == BASIC == | ||
+ | |||
+ | = BWBASIC = | ||
+ | |||
+ | Bytewater must be run with a 32-bit protected mode DOS extender like '' | ||
+ | |||
+ | < | ||
+ | dos32a bwbasic.exe | ||
+ | </ | ||
+ | |||
+ | = FreeBASIC = | ||
https:// | https:// | ||
Line 320: | Line 366: | ||
``` | ``` | ||
- | == C == | + | == C/C++ == |
+ | |||
+ | |||
+ | |||
+ | = OpenWatcom = | ||
+ | |||
+ | * There is '' | ||
+ | * and '' | ||
+ | |||
+ | < | ||
+ | REM Without this env var, linker fails | ||
+ | set WATCOM=C: | ||
+ | |||
+ | REM wcc, wpp, wlink - compilers & linker | ||
+ | REM wcl - compile and link in one | ||
+ | wcl hello.cpp / | ||
+ | |||
+ | REM TO allow the omission of /I flag set INCLUDE | ||
+ | set INCLUDE=C: | ||
+ | |||
+ | REM Now you can simply compile & link with: | ||
+ | wcl hello.cpp | ||
+ | </ | ||
+ | |||
+ | = DJGPP = | ||
Make sure DJGPP is installed from the FreeDOS CD-ROM using `fdimples`. | Make sure DJGPP is installed from the FreeDOS CD-ROM using `fdimples`. |