Commit Graph

10269 Commits

Author SHA1 Message Date
nickysn
10f7f0231e * TExitProcInfo.SaveExit changed to CodePointer
git-svn-id: trunk@24852 -
2013-06-09 20:19:28 +00:00
nickysn
01f8989ebc * textrec updated to use codepointer
git-svn-id: trunk@24849 -
2013-06-09 18:21:21 +00:00
nickysn
0d51ecdd00 * System.ExitProc type changed to CodePointer
git-svn-id: trunk@24848 -
2013-06-09 18:10:45 +00:00
nickysn
4a423ecc44 * System.InitProc changed to CodePointer
git-svn-id: trunk@24843 -
2013-06-09 17:49:38 +00:00
nickysn
ad29cab0aa * DispCallByIDProc changed to CodePointer
git-svn-id: trunk@24842 -
2013-06-09 17:32:18 +00:00
nickysn
54c4c8155b + also added PCodePointer and PPCodePointer
git-svn-id: trunk@24841 -
2013-06-09 17:30:03 +00:00
nickysn
9b59809ac3 * TMethod.Code changed to CodePointer
git-svn-id: trunk@24840 -
2013-06-09 17:24:38 +00:00
nickysn
3e1e5cb7e8 + added System.CodePointer - a pointer that is able to hold a procedure address in the current memory model
git-svn-id: trunk@24839 -
2013-06-09 17:23:31 +00:00
nickysn
0e4e329228 + added defines for the i8086 code and data model; ptrint/ptruint made to follow the data pointer size
git-svn-id: trunk@24838 -
2013-06-09 16:06:14 +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
marco
5de259e487 * added pointer types for int8..int32 types after request on community site.
git-svn-id: trunk@24829 -
2013-06-09 11:21:51 +00:00
sergei
94d1e0c81c + Added KEY_WOW64_64KEY and KEY_WOW64_32KEY to Windows unit and fcl-registry/src/regdef.inc
* Fixed TRegistry.OpenKeyReadOnly and TRegistry.KeyExists methods so they preserve KEY_WOW64_xxKEY bits passed into TRegistry constructor. Based on patch from Maciej Kaczkowski, resolves #23695, #23188

git-svn-id: trunk@24824 -
2013-06-09 00:15:29 +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
marco
2a09070108 * add INVALID_FILE_SIZE mentioned on Lazarus list.
git-svn-id: trunk@24806 -
2013-06-05 13:23:10 +00:00
yury
7e5af23ace * Android: There are cases when libc "environ" var may be NULL. Check for such case and provide fake valid environment. Bug #24519.
git-svn-id: trunk@24804 -
2013-06-04 15:21:29 +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
paul
fa0d5bb66e rtl: add tkBool into TTypeData case (issue #0024538)
git-svn-id: trunk@24794 -
2013-06-03 00:59:23 +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
Károly Balogh
e3594452b5 implemented FileGetDate for MorphOS, based on FileAge implementation
git-svn-id: trunk@24775 -
2013-06-02 14:03:24 +00:00
nickysn
c867fb14dd + implemented dos.exec on i8086-msdos
git-svn-id: trunk@24774 -
2013-06-02 13:42:29 +00:00
Tomas Hajny
d066a78559 * fix breakage after writestr changes in r23888
git-svn-id: trunk@24773 -
2013-06-02 13:39:32 +00:00
Károly Balogh
60879c9c4f also return the colon for ExtractFileDrive on Amiga/MorphOS
git-svn-id: trunk@24765 -
2013-06-02 11:37: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
Károly Balogh
c99d723826 merged fixes from MorphOS
git-svn-id: trunk@24739 -
2013-06-01 17:53:13 +00:00
Károly Balogh
9b90c22eb5 removed unused var, cosmetics, no functional changes
git-svn-id: trunk@24738 -
2013-06-01 17:52:32 +00:00
Károly Balogh
4f67d25a6a don't allow an env var with invalid characters, also fixed a signedness warning
git-svn-id: trunk@24734 -
2013-06-01 17:46:15 +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
marco
9239adbc1e * added some newer additions to devmodea also to devmodeb
git-svn-id: trunk@24710 -
2013-06-01 12:51:15 +00:00
marco
54c7620793 * moved some constants from PTC after checking them with SDK
git-svn-id: trunk@24704 -
2013-06-01 12:19:01 +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
marco
b52717fd90 * wndclassex ifdef unicode fixed.
git-svn-id: trunk@24698 -
2013-06-01 10:27:39 +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
marco
c987e1f5b9 * add CPU prefix to some defines
M    netbsd/signal.inc

git-svn-id: trunk@24684 -
2013-06-01 08:17:30 +00:00
Károly Balogh
7ce3b803b3 basic Amiga/MorphOS support into ExtractFileDrive
git-svn-id: trunk@24683 -
2013-05-31 23:53:47 +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
marco
56d3197ef2 * wndclass was defined with T stringtypes, even though aliased to -A variants.
W variants were ok. Rearranged to more normal ifdef unicode setup.

git-svn-id: trunk@24679 -
2013-05-31 21:39:31 +00:00
marco
8592b306f5 * some more Unicode Windows headers fixes.
git-svn-id: trunk@24673 -
2013-05-31 17:58:18 +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