Commit Graph

150 Commits

Author SHA1 Message Date
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