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
pierre
68d3962889
Regenerate all Makefile's, and update utils/fpcm/fpcmake.inc and utils/fpcm/revision.inc after commit 47483
...
git-svn-id: trunk@47484 -
2020-11-20 14:03:57 +00:00
Károly Balogh
9d67adcbb6
* regenerated all Makefiles after Sinclair QL support was added
...
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
Károly Balogh
882ab946ed
z80-zxspectrum: delete and remove the prt0.asm file. it's not used any more, as it doesn't contain the interrupt code required for stable operation of the target, and this removes sdasz80 dependency from the RTL build process, if another assembler is used by the compiler
...
git-svn-id: trunk@46950 -
2020-09-25 04:37:44 +00:00
pierre
78dca42b0e
Use sdasz80 instead of sdcc-sdasz80 to assemble prt0.asm, as sdasz80 is used by ppcz80
...
git-svn-id: trunk@46938 -
2020-09-24 10:00:53 +00:00
pierre
ca40956a3a
Regenerated all Makefile's
...
git-svn-id: trunk@46224 -
2020-08-04 10:19:49 +00:00
Jonas Maebe
fb23834367
* regenerated Makefiles again
...
git-svn-id: trunk@45766 -
2020-07-11 09:51:28 +00:00
Jonas Maebe
350d2d92f9
* regenerated Makesfiles
...
git-svn-id: trunk@45762 -
2020-07-10 22:08:30 +00:00
nickysn
1ae70c6825
* switch to interrupt mode 2 and install a custom maskable interrupt handler in
...
the ZX Spectrum startup code, because the ROM handler requires the IY register
to always have a specific value, but the FPC code generator uses the IY
register for various purposes, which causes random crashes and glitches when
the timer interrupt occurs.
git-svn-id: trunk@45677 -
2020-06-22 14:00:33 +00:00
nickysn
de08108b27
+ clear the .bss section on startup in the ZX Spectrum RTL
...
git-svn-id: trunk@45624 -
2020-06-07 23:28:03 +00:00
nickysn
4a78b7e073
* fixed stack initialization in the ZX Spectrum startup code
...
git-svn-id: trunk@45623 -
2020-06-07 23:22:57 +00:00
svenbarth
b3ddd4e786
* regenerate Makefiles
...
git-svn-id: trunk@45601 -
2020-06-06 17:18:48 +00:00
pierre
c77ef7d6dd
Regenerate all Makefile's after change in utils/fpcm/fpcmake.ini to better support use of i386 compiler on x86_64 machines
...
git-svn-id: trunk@45356 -
2020-05-13 13:53:15 +00:00
nickysn
56b79257a1
* fixed fpmake invokation when building an i386-linux snapshot on a x86_64-linux host
...
git-svn-id: trunk@45298 -
2020-05-06 20:41:01 +00:00
nickysn
e60ab7148d
* fixed compilation with sdld
...
git-svn-id: trunk@45170 -
2020-04-29 01:53:01 +00:00
Károly Balogh
594138141a
zxspectrum: in the pascal startup code, match start symbol name with the asm startup code
...
git-svn-id: trunk@45167 -
2020-04-29 01:18:37 +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
Károly Balogh
c206415450
zxspectrum: pascal startup code. this allows the RTL to be built with any assembler
...
git-svn-id: trunk@45165 -
2020-04-28 23:13:29 +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
cb169980b7
* cheat and declare many of the empty routines as 'inline' to save some precious memory bytes :)
...
git-svn-id: branches/z80@45133 -
2020-04-26 23:01:20 +00:00
nickysn
5c605f0a10
+ console input (not working well, yet)
...
git-svn-id: branches/z80@45130 -
2020-04-26 22:32:52 +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
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