ondrej
1a0ba60de6
* revert r47598: implement TRandomGenerator
...
git-svn-id: trunk@47605 -
2020-11-27 04:53:06 +00:00
ondrej
c4dd3b661a
* rtl: implement TRandomGenerator for thread-safe random
...
git-svn-id: trunk@47598 -
2020-11-26 05:59:00 +00:00
nickysn
59b90c24ed
+ initialize StackBottom and StackLength in the startup of the ZX Spectrum system unit
...
git-svn-id: trunk@45166 -
2020-04-29 01:10:52 +00:00
nickysn
5594302d2a
* fixed GotoXY (parameters were swapped)
...
git-svn-id: branches/z80@45137 -
2020-04-27 00:40:24 +00:00
nickysn
843024f3b7
* PrintChar and OpenChannel converted to pure assembler functions
...
git-svn-id: branches/z80@45135 -
2020-04-26 23:16:48 +00:00
nickysn
fe05a87a27
* made ErrOutput/StdErr a true alias of Output/StdOut to save memory
...
git-svn-id: branches/z80@45134 -
2020-04-26 23:10:08 +00:00
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
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
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
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
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
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
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
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
4f1174cc6e
+ added a very minimal and incomplete ZX Spectrum RTL
...
git-svn-id: branches/z80@44813 -
2020-04-19 00:24:22 +00:00