Commit Graph

474 Commits

Author SHA1 Message Date
Jonas Maebe
df6a2dce00 + unicodestring support for assign/erase/rename
+ codepage support for textrec/filerec and the above routines
  * textrec/filerec now store the filename by default using widechar. It is
    possible to switch back to ansichars using the FPC_ANSI_TEXTFILEREC define.
    In that case, from now on the filename will always be stored in
    DefaultFileSystemEncoding
  * fixed potential buffer overflows and non-null-terminated file names in
    textrec/filerec
  + dodirseparators(pwidechar), changed the dodirseparators(pchar/pwidechar)
    parameters into var-parameters and gave those routines an extra parameter
    that indicates whether the p(wide)char can be changed in place if
    necessary or whether a copy must be made first (avoids us having to make
    all strings always unique everywhere, because they might be changed on
    some platforms via a pchar)
  * do_open/do_erase/do_rename got extra boolean parameters indicating whether
    the passed pchars point to data that can be freely changed (to pass on to
    dodirseparators() if applicable)
  * objects.pp: force assign(pchar) to be called, because
    assign(array[0..255]) cannot choose between pchar and rawbytestring
    versions (and removing the pchar version means that assign(pchar) will
    be mapped to assign(shortstring) in {$h-})
  * fixed up some routines in other units that depend on the format of
    the textrec/filerec.name field

git-svn-id: branches/cpstrrtl@25137 -
2013-07-19 16:30:51 +00:00
Jonas Maebe
155aafc255 * moved SYSUTILS_HAS_ANSISTR/UNICODESTR_FILEUTIL_IMPL define to interface
so declarations can also depend on it and similar defines (not yet the
    case)
  + added SYSUTILS_HAS_ANSISTR_ENVVAR_IMPL/SYSUTILS_HAS_UNICODESTR_ENVVAR_IMPL
    to indicate whether the platform-dependent part of the unit provides
    an ansistring/unicodestring interface to get environment variables
  + Windows version of getenvironmentvariable(unicodestring)
  + generic ansistring/unicodestring versions of GetEnvironmentVariable()
    in case the platform doesn't provide them
  * result of GetEnvironmentString() is ansistring/unicodestring depending
    on the state of the FPC_RTL_UNICODE define

git-svn-id: branches/cpstrrtl@25116 -
2013-07-16 14:16:34 +00:00
Jonas Maebe
eeb98a0c0f - removed platform-specific implementations of GetCurrentDir, SetCurrentDir,
CreateDir and RemoveDir, and implemented a generic one (based on the OS/2
    version) in the shared sysutils code (so that the filesystem code page
    support for the system unit routines can be reused)
  * include both ansistring and unicodestring versions of the above routines,
    and of ForceDirectories. Exception: GetCurrentDir, which cannot be
    overloaded based on function result and whose return type currently
    dependends on the FPC_UNICODE_RTL define

git-svn-id: branches/cpstrrtl@25113 -
2013-07-16 14:15:55 +00:00
Jonas Maebe
26b2149ced * converted the following sysutils routines to unicodestring and
rawbytestring: FileExists, DirectoryExists, FileSetDate, FileGetAttr,
    FileSetAttr, DeleteFile, RenameFile, FileSearch, ExeSearch,
    FileIsReadOnly

git-svn-id: branches/cpstrrtl@25078 -
2013-07-09 19:01:45 +00:00
Jonas Maebe
60365489e2 * converted fileopen/filecreate interface to RawByteString for
msdos/embedded, but do not perform any code page conversions
    (size limits prevent widestring manager on msdos, and the
     embedded routines are empty)

git-svn-id: branches/cpstrrtl@25076 -
2013-07-09 19:01:36 +00:00
Jonas Maebe
d66d15aad3 + added mkdir/chdir/rmdir(rawbytestring) and (unicodestring) to the system unit
* renamed platform-specific pchar versions of those rouines to do_*() and
    changed them to either rawbytestring or unicodestring depending on the
    FPCRTL_FILESYSTEM_SINGLE_BYTE_API/FPCRTL_FILESYSTEM_TWO_BYTE_API setting
  * implemented generic shortstring versions of those routines on top of either
    rawbytestring or unicodestring depending on the API-kind (in case of the
    embedded target, if ansistring are not supported they will map directly
    to shortstring routines instead)
  * all platform-specific *dir() routines with rawbytestring parameters now
    receive their parameters in DefaultFileSystemCodePage
  - removed no longer required ansistring variants from the objpas unit
  - removed no longer required FPC_SYS_MKDIR etc aliases
  * factored out empty string and inoutres<>0 checks from platform-specific
    *dir() routines to generic ones
  o platform-specific notes:
   o amiga/morphos: check new pathconv(rawbytestring) function
   o macos TODO: convert PathArgToFSSpec (and the routines it calls) to
     rawbytestring
   o nativent: added SysUnicodeStringToNtStr() function
   o wii: convert dirio callbacks to use rawbytestring to avoid conversion
  + test for unicode mk/ch/rm/getdir()

git-svn-id: branches/cpstrrtl@25048 -
2013-07-04 22:28:37 +00:00
Jonas Maebe
893a9a57c6 * missing getdir -> do_getdir rename for r24993
git-svn-id: branches/cpstrrtl@25046 -
2013-07-04 22:28:27 +00:00
nickysn
3505ba4ee6 + added CPU detection code in the msdos rtl startup in order to properly initialize the Test8086 variable
git-svn-id: trunk@25034 -
2013-07-03 15:43:01 +00:00
Jonas Maebe
62ee16278b * changed getdir(ansistring):ansistring to
getdir(rawbytestring):rawbytestring so it can accept strings in any
    encoding and cleanly return results in DefaultRTLFileSystemCodePage
  + getdir(unicodestring):unicodestring
  * renamed the getdir implementation of all platforms except for embedded-
    without-ansistring-support to do_getdir(), and depending on the
    FPCRTL_FILESYSTEM_SINGLE_BYTE_API/FPCRTL_FILESYSTEM_TWO_BYTE_API define
    changed its shortstring parameter to ansistring or unicodestring. The
    do_getdir(rawbytestring) routine should just set the code page of the
    return value to DefaultFileSystemCodePage without conversion (not
    DefaultRTLFileSystemCodePage with conversion, that conversion is performed
    in getdir if necessary; this avoids double conversions in case
    getdir(unicodestring) is called)
  + generic getdir(shortstring) for platforms supporting either ansistrings or widestrings
  o platform maintainers:
   o OS/2: adjust code to supports paths > 255 characters if those are supported
   o Wii: adjust used callback to use rawbytestring to support paths > 255 characters and
     avoid shortstring->rawbytestring conversion overhead
   o Windows: GetCurrentDirectoryW is now always used (to prevent data loss)

git-svn-id: branches/cpstrrtl@24993 -
2013-06-27 21:37:47 +00:00
Jonas Maebe
da7a67bc74 + FPCRTL_FILESYSTEM_SINGLE_BYTE_API define that is set for targets where we
use a single byte API for file system operations
  + FPCRTL_FILESYSTEM_TWO_BYTE_API define that is set for targets where we
    use a single byte API for file system operations
   o in principle, both can be set if both are supprted and implemented in
     the RTL in order to minimise conversions depending on the scenario

git-svn-id: branches/cpstrrtl@24991 -
2013-06-27 21:37:39 +00:00
Jonas Maebe
eae1cd6cca * msdos target was added after the cpstrrtl branch was created; no special
defines

git-svn-id: branches/cpstrrtl@24914 -
2013-06-18 10:57:49 +00:00
nickysn
5d4ebf0dca + added extra_param_offset constant for accessing parameters in asm routines with nostackframe
git-svn-id: trunk@24873 -
2013-06-11 21:08:43 +00:00
nickysn
b74af9fda0 * declare the text segment with class=code on i8086-msdos
git-svn-id: trunk@24830 -
2013-06-09 12:13:52 +00:00
nickysn
cd5255c147 + added startup code for the medium memory model
git-svn-id: trunk@24820 -
2013-06-08 22:41:43 +00:00
nickysn
54ec2f4b4b * makefiles updated after the msdos loader changes
git-svn-id: trunk@24810 -
2013-06-05 16:43:56 +00:00
nickysn
e28852d07d * prt0 startup code file for small model renamed to prt0s
git-svn-id: trunk@24809 -
2013-06-05 16:41:39 +00:00
nickysn
c124283a36 * msdos startup code for tiny and small memory models moved to a shared nasm include file to avoid code duplication
git-svn-id: trunk@24808 -
2013-06-05 16:38:01 +00:00
nickysn
4cd26988ad + added prt0t.o (loader for i8086-msdos tiny memory model) to the makefiles
git-svn-id: trunk@24801 -
2013-06-03 21:11:45 +00:00
nickysn
b409d600ee + implemented the tiny memory model for i8086-msdos; we now produce working dos .com files as well
git-svn-id: trunk@24793 -
2013-06-02 23:02:10 +00:00
nickysn
c867fb14dd + implemented dos.exec on i8086-msdos
git-svn-id: trunk@24774 -
2013-06-02 13:42:29 +00:00
nickysn
40630a7cde * slight accuracy improvement in crt.delay for i8086-msdos
git-svn-id: trunk@24749 -
2013-06-01 19:23:25 +00:00
nickysn
4b3c67c51a + implemented dos.Keep for i8086-msdos; simple dos TSRs now work
git-svn-id: trunk@24730 -
2013-06-01 16:42:56 +00:00
nickysn
3953eed6b3 + added and implemented unit ports for i8086-msdos
git-svn-id: trunk@24722 -
2013-06-01 14:44:49 +00:00
nickysn
896d2f2bd5 + implemented dos.GetIntVec and SetIntVec for i8086-msdos
git-svn-id: trunk@24720 -
2013-06-01 14:32:03 +00:00
nickysn
14ded034f6 * fixed the msdos startup code for the cases when the largest available memory block is smaller that what would be needed for a full 64kb data segment
git-svn-id: trunk@24714 -
2013-06-01 13:19:10 +00:00
nickysn
6c51bcae37 + implemented dos.diskfree and disksize for i8086-msdos; cd-rom support not implemented yet
git-svn-id: trunk@24701 -
2013-06-01 10:48:38 +00:00
nickysn
ed7eb79486 + implemented dos.GetShortName and GetLongName for i8086-msdos
git-svn-id: trunk@24699 -
2013-06-01 10:34:07 +00:00
nickysn
7d757cc5ed + implemented dos.getfattr and setfattr for i8086-msdos
git-svn-id: trunk@24696 -
2013-06-01 10:17:00 +00:00
nickysn
327628a6bd + implemented dos.FindFirst/FindNext/FindClose for i8086-msdos
git-svn-id: trunk@24691 -
2013-06-01 09:41:16 +00:00
nickysn
33e04e954a + implemented crt.[no]sound for i8086-msdos; the crt unit is now complete
git-svn-id: trunk@24686 -
2013-06-01 08:34:29 +00:00
nickysn
68a80ccc66 * use rep movsw in crt.dosmemmove for i8086-msdos
git-svn-id: trunk@24681 -
2013-05-31 22:26:16 +00:00
nickysn
0446ccbba7 + implemented crt.delay for i8086-msdos
git-svn-id: trunk@24680 -
2013-05-31 22:17:23 +00:00
nickysn
fba73d3c96 + added and implemented unit msmouse for i8086-msdos
git-svn-id: trunk@24669 -
2013-05-31 16:54:01 +00:00
nickysn
1ee6628afd + implemented all the crt screen output functions for i8086-msdos
git-svn-id: trunk@24668 -
2013-05-31 15:09:10 +00:00
nickysn
f2ff50f80e + initial implementation of unit crt for i8086-msdos (based on the go32v2 version)
git-svn-id: trunk@24666 -
2013-05-31 14:29:35 +00:00
nickysn
89cbbe5931 + enabled compilation of unit objects for i8086-msdos
git-svn-id: trunk@24659 -
2013-05-31 09:39:17 +00:00
nickysn
ab03091865 + enabled compilation of unit classes on i8086-msdos
git-svn-id: trunk@24657 -
2013-05-31 08:29:23 +00:00
nickysn
a36288ee68 + enabled compilation of unit fgl on i8086-msdos
git-svn-id: trunk@24650 -
2013-05-30 19:02:13 +00:00
nickysn
730f7c82b7 * some fixes, intended to get units fgl and classes to compile on 16-bit cpus
git-svn-id: trunk@24649 -
2013-05-30 18:58:25 +00:00
nickysn
4e2962e6ae - do not initialize the regular heap manager under i8086-msdos, so it can be smartlinked away
git-svn-id: trunk@24614 -
2013-05-25 19:22:31 +00:00
nickysn
b26cdc776d + enabled compilation of units matrix, ucomplex and getopts for i8086-msdos
git-svn-id: trunk@24610 -
2013-05-25 18:06:39 +00:00
nickysn
5c49116d00 + enabled compilation of units types, dateutil, convutil, strutils and stdconvs for i8086-msdos
git-svn-id: trunk@24609 -
2013-05-25 17:55:20 +00:00
nickysn
bf132b31c6 + enabled compilation of unit variants for i8086-msdos
git-svn-id: trunk@24608 -
2013-05-25 16:40:45 +00:00
nickysn
01ff2221d7 + enabled compilation of varutils for i8086-msdos
git-svn-id: trunk@24607 -
2013-05-25 16:38:08 +00:00
nickysn
3492d29834 + added varutils.pp to the msdos rtl
git-svn-id: trunk@24604 -
2013-05-25 16:00:33 +00:00
nickysn
9813e9b4eb + enabled compilation of units rtlconst and typinfo for i8086-msdos
git-svn-id: trunk@24603 -
2013-05-25 15:51:58 +00:00
nickysn
fa5dd5eef0 + enabled compilation of unit iso7185 for i8086-msdos
git-svn-id: trunk@24599 -
2013-05-25 15:30:43 +00:00
nickysn
5bc70298de + enabled compilation of unit macpas for i8086-msdos
git-svn-id: trunk@24598 -
2013-05-25 15:29:12 +00:00
nickysn
1eda29951e + enabled compilation of the math unit for i8086-msdos
git-svn-id: trunk@24597 -
2013-05-25 15:25:19 +00:00
nickysn
062c0aa5f4 + sysutils for i8086-msdos compiles now\! yippiee\!\!\!
git-svn-id: trunk@24594 -
2013-05-25 14:22:46 +00:00
nickysn
4708132ddf + added sysutils.pp to the i8086-msdos rtl
git-svn-id: trunk@24590 -
2013-05-25 13:25:35 +00:00
nickysn
0f7673105b + implemented envcount, envstr and getenv for i8086-msdos
git-svn-id: trunk@24587 -
2013-05-24 20:42:56 +00:00
nickysn
0013186e2d + fully implemented ParamStr and ParamCount on i8086-msdos
git-svn-id: trunk@24582 -
2013-05-24 18:20:08 +00:00
nickysn
035cb74855 * far pointer helper types made global in the implementation of the system unit
git-svn-id: trunk@24578 -
2013-05-24 17:28:53 +00:00
nickysn
de26059b61 + added dos version check in GetProgramName
git-svn-id: trunk@24576 -
2013-05-24 15:45:16 +00:00
nickysn
9185ee9423 - rm debug writeln committed by accident
git-svn-id: trunk@24575 -
2013-05-24 15:43:34 +00:00
nickysn
7628c87e44 + obtain the msdos version on startup
git-svn-id: trunk@24574 -
2013-05-24 15:42:43 +00:00
nickysn
52328554e4 + implemented ParamStr(0) on i8086-msdos, using our limited far pointer support
git-svn-id: trunk@24573 -
2013-05-24 15:28:22 +00:00
nickysn
e7cf738c31 + enabled compilation of the lineinfo unit for i8086-msdos
git-svn-id: trunk@24534 -
2013-05-20 08:14:47 +00:00
nickysn
ec392e2939 + enabled compilation of unit heaptrc for i8086-msdos
git-svn-id: trunk@24528 -
2013-05-19 17:34:38 +00:00
pierre
7f5aa5a441 Avoid some range check errors for msdos target
git-svn-id: trunk@24517 -
2013-05-16 22:06:33 +00:00
nickysn
3109d0a58c + enabled compilation of the dos unit for msdos-i8086
git-svn-id: trunk@24485 -
2013-05-11 22:11:55 +00:00
nickysn
b2c95c851a * fixed bug in the intr and msdos functions, introduced in r24462
git-svn-id: trunk@24463 -
2013-05-07 19:15:39 +00:00
nickysn
0a8e008a0d + the ES register made volatile on i8086 as per the 16-bit x86 calling conventions
git-svn-id: trunk@24462 -
2013-05-07 14:27:21 +00:00
nickysn
f1861a71d6 + fixed startup hang in the i8086-msdos rtl on systems without an FPU
git-svn-id: trunk@24455 -
2013-05-06 21:36:37 +00:00
pierre
78a7043352 Regenerate all Makefiles with an up-to-date fpcmake binary (dummy commit)
git-svn-id: trunk@24367 -
2013-04-29 12:30:54 +00:00
nickysn
11a915e682 + zero fill the bss section on startup in the msdos loader
git-svn-id: trunk@24339 -
2013-04-27 10:04:56 +00:00
florian
3d7033d81e * Makefiles regenerated
git-svn-id: trunk@24325 -
2013-04-25 20:25:57 +00:00
nickysn
349f2868db * fixed intr/msdos bug introduced in r24308
git-svn-id: branches/i8086@24310 -
2013-04-23 12:59:48 +00:00
nickysn
e107eaea28 * a slight optimization in the MsDos routine (mov al instead of ax)
git-svn-id: branches/i8086@24309 -
2013-04-23 12:43:31 +00:00
nickysn
ff5091cfb8 * do not save bx, cx, si and di in the msdos and intr functions, as preserving them isn't required for the pascal calling convention
git-svn-id: branches/i8086@24308 -
2013-04-23 12:37:28 +00:00
nickysn
5ed1222e64 * changed the default i8086 calling convention to pocall_pascal
git-svn-id: branches/i8086@24290 -
2013-04-21 18:03:36 +00:00
nickysn
74cd67b85c + added 8087 initialization to the msdos rtl (8087 presence detection is still a TODO)
git-svn-id: branches/i8086@24140 -
2013-04-03 16:03:45 +00:00
nickysn
8a1178e4e9 * regenerated makefiles
git-svn-id: branches/i8086@24114 -
2013-04-01 17:30:11 +00:00
nickysn
873d5f7d05 * makefiles regenerated
git-svn-id: branches/i8086@24103 -
2013-04-01 02:02:53 +00:00
florian
7120d416f5 * enable only units which build on msdos
git-svn-id: branches/i8086@24095 -
2013-03-31 18:42:09 +00:00
nickysn
96fd997a97 - rm unported code from go32v2, generate runtime 304 if an unimplemented function is called
git-svn-id: branches/i8086@24094 -
2013-03-31 18:06:27 +00:00
nickysn
c44f760015 * i8086 near heap renamed 'tiny heap', moved to the inc/ directory
git-svn-id: branches/i8086@24082 -
2013-03-30 19:57:21 +00:00
nickysn
599d5d74ca + implemented Randomize for msdos
git-svn-id: branches/i8086@24081 -
2013-03-30 16:40:37 +00:00
nickysn
efa90dd1f3 * fixed potential buffer overflow in GetDir()
git-svn-id: branches/i8086@24080 -
2013-03-30 16:34:54 +00:00
nickysn
af751145b7 + msdos directory functions implemented, based on go32v2
git-svn-id: branches/i8086@24079 -
2013-03-30 16:26:02 +00:00
nickysn
bca3cd6160 + implemented all the remaining msdos file functions
git-svn-id: branches/i8086@24078 -
2013-03-30 15:46:41 +00:00
nickysn
620dc8cb64 * close all open files on exit
git-svn-id: branches/i8086@24077 -
2013-03-30 15:31:39 +00:00
nickysn
a463c1f558 + implemented file routines do_open and do_close for msdos, based on the go32v2 code
git-svn-id: branches/i8086@24076 -
2013-03-30 15:27:36 +00:00
nickysn
bbcd3506b3 + call initvariantmanager on msdos system unit startup
git-svn-id: branches/i8086@24075 -
2013-03-30 15:05:20 +00:00
nickysn
28545f2fad + implemented near heap for i8086-msdos, based on the embedded target heap
git-svn-id: branches/i8086@24074 -
2013-03-30 14:54:01 +00:00
nickysn
aab6df13ba * use Seg() instead of DSeg in the msdos rtl
git-svn-id: branches/i8086@24072 -
2013-03-30 13:05:30 +00:00
nickysn
27559aa5f8 * use Ofs() instead of typecasting to word for getting the offset of a pointer
git-svn-id: branches/i8086@24068 -
2013-03-30 11:41:07 +00:00
nickysn
2fd729cb4d + added CheckLFN to the msdos rtl
git-svn-id: branches/i8086@24067 -
2013-03-30 11:37:29 +00:00
nickysn
8f71f3b5fd + initialize more stuff in the msdos system unit startup
git-svn-id: branches/i8086@24065 -
2013-03-30 03:02:14 +00:00
nickysn
47342630e0 + allocate space for stack and heap dynamically on program startup for i8086-msdos
git-svn-id: branches/i8086@24063 -
2013-03-30 00:36:31 +00:00
florian
9edacdc9b4 + mem declarations
git-svn-id: branches/i8086@24060 -
2013-03-29 16:02:46 +00:00
florian
5ab9742c22 + start of dos unit (derived from go32v2)
* adapated Makefiles

git-svn-id: branches/i8086@24059 -
2013-03-29 15:58:21 +00:00
nickysn
102f929e99 - do not initialize the flags register on entry to the interrupt in the Intr/MsDos procedure (which is the TP-compatible behavior)
git-svn-id: branches/i8086@24058 -
2013-03-29 15:50:57 +00:00
nickysn
b61a9ba6a6 + implemented GetProcessID for i8086-msdos (returns the PSP)
git-svn-id: branches/i8086@24057 -
2013-03-29 15:23:32 +00:00
nickysn
9b79c52f32 * fixed bug in FPC_INTR and FPC_MSDOS
git-svn-id: branches/i8086@24046 -
2013-03-28 22:49:14 +00:00
nickysn
d8af51fdab + implemented do_read for i8086-msdos
git-svn-id: branches/i8086@24045 -
2013-03-28 22:22:47 +00:00
nickysn
1077093b08 + added error checking to the dos file operations
git-svn-id: branches/i8086@24044 -
2013-03-28 22:03:13 +00:00
nickysn
c76b459324 * implemented the MsDos function with an asm prequel to the Intr function
git-svn-id: branches/i8086@24043 -
2013-03-28 21:41:55 +00:00
nickysn
7b578f3e9c * reimplemented do_write and do_isdevice in Pascal, using the MsDos procedure
git-svn-id: branches/i8086@24042 -
2013-03-28 21:35:21 +00:00
nickysn
db07a990a9 * also save BP in FPC_INTR
git-svn-id: branches/i8086@24040 -
2013-03-28 21:26:44 +00:00
nickysn
cd18b792ab + added Intr and MsDos implementations for i8086-msdos
git-svn-id: branches/i8086@24037 -
2013-03-28 18:17:25 +00:00
nickysn
f1a974f3c9 * THandle type changed to Word for i8086-msdos
git-svn-id: branches/i8086@24016 -
2013-03-27 00:14:41 +00:00
nickysn
b2fc6a2f6d + basic implementation of do_isdevice for msdos
git-svn-id: branches/i8086@24014 -
2013-03-26 18:58:00 +00:00
nickysn
e3ce68612c + very simple implementation of do_write for i8086-msdos. 'Hello World' now works!!!
git-svn-id: branches/i8086@23992 -
2013-03-24 23:30:31 +00:00
nickysn
f24f119822 * SysInitStdIO doesn't crash anymore on the i8086, so enable it in the msdos system unit initialization
git-svn-id: branches/i8086@23991 -
2013-03-24 23:05:48 +00:00
florian
feed492568 * fixes to compile objpas i8086
git-svn-id: branches/i8086@23972 -
2013-03-23 18:27:46 +00:00
nickysn
7db978c3a4 * mark the registers, modified by DebugWriteLn's asm code
git-svn-id: branches/i8086@23971 -
2013-03-23 02:14:52 +00:00
nickysn
7fec59c454 - remove the FULL_RTL ifdefs from the msdos system unit; full rtl is always enabled now
git-svn-id: branches/i8086@23969 -
2013-03-23 00:49:48 +00:00
florian
911ac847f7 * regenerated several automatically generated files after last changes
git-svn-id: branches/i8086@23936 -
2013-03-19 20:12:48 +00:00
nickysn
0af13920c1 * enable compilation of the software mod and div helpers in the i8086-msdos rtl
git-svn-id: branches/i8086@23876 -
2013-03-16 21:01:52 +00:00
nickysn
fd98de1fd2 * don't define FPC_INITIALIZEUNITS twice, when FULL_RTL is defined
git-svn-id: branches/i8086@23865 -
2013-03-16 14:01:40 +00:00
nickysn
88fe359644 + added several necessary system unit routines
git-svn-id: branches/i8086@23864 -
2013-03-16 14:00:32 +00:00
nickysn
8cb0f96200 * avoid duplicated do_exit when FULL_RTL is defined
git-svn-id: branches/i8086@23861 -
2013-03-16 12:53:42 +00:00
nickysn
54a5e980ef + added sysdir.inc for msdos, empty for now
git-svn-id: branches/i8086@23860 -
2013-03-16 12:49:21 +00:00
nickysn
bca7bf78dc + added sysheap.inc and sysfile.inc to the msdos target, empty for now
git-svn-id: branches/i8086@23857 -
2013-03-16 12:03:24 +00:00
nickysn
c136785c10 + a few standard consts and vars for the msdos target
git-svn-id: branches/i8086@23856 -
2013-03-16 11:17:49 +00:00
nickysn
6efe01eb3f * enable the MUL helpers in the i8086 rtl
git-svn-id: branches/i8086@23814 -
2013-03-12 23:35:20 +00:00
nickysn
867a0de37c segment stack declared of class stack to make wlink happy
git-svn-id: branches/i8086@23786 -
2013-03-10 21:37:16 +00:00
florian
451c634532 * treat msdos as 8.3 target in the makefiles as the compiler does
git-svn-id: branches/i8086@23780 -
2013-03-10 18:19:52 +00:00
florian
64ffe8f5ef + basic Makefile infrastructure for msdos
git-svn-id: branches/i8086@23779 -
2013-03-10 17:31:53 +00:00
nickysn
3768914a3d slight rtl update for i8086-msdos
git-svn-id: branches/i8086@23777 -
2013-03-10 16:57:15 +00:00
nickysn
2393cd5eef added DebugWrite and DebugWriteLn to the minimal msdos rtl
git-svn-id: branches/i8086@23753 -
2013-03-09 18:29:23 +00:00
nickysn
fd328eda44 really minimal msdos rtl added
git-svn-id: branches/i8086@23722 -
2013-03-08 00:54:54 +00:00