nickysn
d970112f26
+ implemented console output in the ZX Spectrum RTL. Writeln('Hello, world!'); now works!!! :)
...
git-svn-id: branches/z80@45129 -
2020-04-26 22:18:23 +00:00
nickysn
78c40a6d70
* allow setting the stack size from FPC
...
git-svn-id: branches/z80@45104 -
2020-04-26 16:04:29 +00:00
nickysn
caecdfd51d
+ allow setting the heap size for the ZX Spectrum target
...
git-svn-id: branches/z80@45102 -
2020-04-26 14:58:47 +00:00
nickysn
57912f673f
+ added PrintShortString to the ZX Spectrum RTL to help with testing
...
git-svn-id: branches/z80@45099 -
2020-04-26 14:03:42 +00:00
nickysn
6088f4a882
+ added Mem[] support to the ZX Spectrum system unit
...
git-svn-id: branches/z80@45098 -
2020-04-26 13:58:04 +00:00
nickysn
c343286b3e
+ initialize more stuff in the system unit. Stdio doesn't work yet... :(
...
git-svn-id: branches/z80@45097 -
2020-04-26 13:38:15 +00:00
nickysn
ded6fdd04f
* reduced the stack area to 256 bytes
...
git-svn-id: branches/z80@45096 -
2020-04-26 13:31:45 +00:00
nickysn
a9bf07d1f9
* the system unit now compiles with FULL_RTL, so the ifdefs are removed. Smartlinking is required from
...
now on, for compiling programs, because the system unit becomes too large without it.
git-svn-id: branches/z80@45086 -
2020-04-26 11:01:45 +00:00
nickysn
d359787c91
* loop forever in system_exit
...
git-svn-id: branches/z80@45078 -
2020-04-25 21:10:42 +00:00
nickysn
0b73bfa3ab
* the dummy fpc_InitializeUnits and fpc_do_exit procedures are only defined if system unit is compiled
...
without -dFULL_RTL
git-svn-id: branches/z80@45063 -
2020-04-25 11:13:32 +00:00
nickysn
11433210d7
+ more dummy functions added
...
git-svn-id: branches/z80@45036 -
2020-04-23 03:19:56 +00:00
nickysn
4ca4f8abd5
+ more dummy consts added
...
git-svn-id: branches/z80@45033 -
2020-04-23 03:05:18 +00:00
nickysn
02dbca9ae4
+ added dummy sysdir.inc to the ZX Spectrum RTL
...
git-svn-id: branches/z80@45032 -
2020-04-23 03:03:42 +00:00
nickysn
f732b8413c
+ added dummy sysfile.inc
...
git-svn-id: branches/z80@45031 -
2020-04-23 03:01:39 +00:00
nickysn
91eeb82e5a
+ some dummy consts for the file io
...
git-svn-id: branches/z80@45030 -
2020-04-23 02:58:33 +00:00
nickysn
7ccebb5073
+ include the tiny heap in the ZX Spectrum system unit, when compiled with -dFULL_RTL
...
git-svn-id: branches/z80@45028 -
2020-04-23 02:48:03 +00:00
nickysn
0d7e3921aa
+ added susheap.inc to the ZX Spectrum RTL (empty for now)
...
git-svn-id: branches/z80@45027 -
2020-04-23 02:35:11 +00:00
nickysn
9c27227d3a
+ include softfpu in the ZX Spectrum system unit, when compiled with -dFULL_RTL (which still doesn't work)
...
git-svn-id: branches/z80@45008 -
2020-04-22 22:25:52 +00:00
nickysn
86643f8a34
* synchronized with trunk
...
git-svn-id: branches/z80@44981 -
2020-04-21 23:36:44 +00:00
nickysn
902b8e0958
+ implemented Move() using inline asm
...
git-svn-id: branches/z80@44972 -
2020-04-21 19:27:27 +00:00
nickysn
7f409534a1
+ exposed FillChar, Sptr, get_frame, get_caller_addr, get_caller_frame from z80.inc even without FULL_RTL. This allows
...
testing them and using them for debugging (e.g. PrintHexWord(Word(Sptr)) now works)
git-svn-id: branches/z80@44969 -
2020-04-21 17:44:49 +00:00
nickysn
16b2fd4378
+ compile z80.inc even without FULL_RTL
...
+ added extra defines to the system unit without FULL_RTL, so that more things can be compiled
- commented out stuff from z80.inc that doesn't compile yet. It will be uncommented as soon as the code generator
starts being able to compile it
git-svn-id: branches/z80@44968 -
2020-04-21 17:39:33 +00:00
nickysn
1669254c5a
+ full RTL include, hidden behind ifdefs, because the code generator isn't able to compile it yet
...
git-svn-id: branches/z80@44905 -
2020-04-21 02:18:37 +00:00
nickysn
861ae0b139
+ some rtl include files added
...
git-svn-id: branches/z80@44904 -
2020-04-21 02:11:52 +00:00
nickysn
6f874eefa6
+ added keyboard input functions (ReadKey and KeyPressed) to the ZX Spectrum. Now you can start having fun! :)
...
git-svn-id: branches/z80@44902 -
2020-04-21 01:16:04 +00:00
nickysn
93be8bba50
+ added fancier ZX Spectrum console output stuff: OpenChannel, Ink, Paper and GotoXY
...
git-svn-id: branches/z80@44901 -
2020-04-21 00:56:29 +00:00
nickysn
d57ffc4745
* changed the object file format for z80-embedded and z80-zxspectrum to .rel
...
git-svn-id: branches/z80@44899 -
2020-04-20 23:36:15 +00:00
nickysn
2f68090dd6
* synchronized with trunk
...
git-svn-id: branches/z80@44898 -
2020-04-20 22:42:08 +00:00
nickysn
0f323df7a3
* synchronized with trunk
...
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
nickysn
04a4ff3f3f
* loop forever in fpc_do_exit in the ZX Spectrum RTL
...
git-svn-id: branches/z80@44869 -
2020-04-19 19:33:14 +00:00
nickysn
4bc5270f34
* jump to PASCALMAIN in the ZX Spectrum startup code
...
git-svn-id: branches/z80@44868 -
2020-04-19 19:32:30 +00:00
nickysn
21dd92df23
+ added Makefile for the ZX Spectrum rtl
...
git-svn-id: branches/z80@44852 -
2020-04-19 14:45:14 +00:00
nickysn
8c87ef2a32
+ added makefile.fpc for the ZX Spectrum RTL
...
git-svn-id: branches/z80@44814 -
2020-04-19 00:48:12 +00:00
nickysn
4f1174cc6e
+ added a very minimal and incomplete ZX Spectrum RTL
...
git-svn-id: branches/z80@44813 -
2020-04-19 00:24:22 +00:00