Commit Graph

58918 Commits

Author SHA1 Message Date
nickysn
6f6598712f * synchronized with trunk
git-svn-id: branches/z80@45131 -
2020-04-26 22:33:58 +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
368f4412c4 * handle nf_swapped properly in TZ80AddNode.second_cmp16_32_64bit
git-svn-id: branches/z80@45128 -
2020-04-26 22:09:37 +00:00
nickysn
647725ea0c * optimizations in tcgz80.normalize_ref
git-svn-id: branches/z80@45127 -
2020-04-26 21:36:13 +00:00
nickysn
5a5a8602d3 * optimization in tcgz80.a_load_const_cgpara for pushing longints, where the low 16 bits are equal
to the high 16 bits (works for e.g. 0)

git-svn-id: branches/z80@45126 -
2020-04-26 21:12:15 +00:00
nickysn
3338603bb8 * generate better code in tcgz80.a_loadaddr_ref_reg
git-svn-id: branches/z80@45125 -
2020-04-26 20:58:52 +00:00
florian
db9a284d60 * simplify xtensa-linux building
git-svn-id: trunk@45124 -
2020-04-26 20:54:22 +00:00
Mattias Gaertner
2f1fba51cc pas2js: fixed type helper nested procedure Self
git-svn-id: trunk@45123 -
2020-04-26 20:08:13 +00:00
nickysn
5be4ce281f * don't reorder LOC_REFERENCE parameters on the Z80 also
git-svn-id: branches/z80@45122 -
2020-04-26 19:49:17 +00:00
Mattias Gaertner
4f7882c8af fcl-passrc: fixed type helper intdouble/uintdouble
git-svn-id: trunk@45121 -
2020-04-26 19:23:54 +00:00
nickysn
44d95ef7c8 + generate better code in op_const_reg for OP_ADD and OP_SUB by using in certain cases A_DEC for OP_SUB
and A_INC for OP_ADD

git-svn-id: branches/z80@45120 -
2020-04-26 17:24:53 +00:00
florian
1395b2850e + xtensa-linux support for several packages
git-svn-id: trunk@45119 -
2020-04-26 17:24:30 +00:00
florian
7dfefcb1f6 * Xtensa: fpc_setjmp dummy
git-svn-id: trunk@45118 -
2020-04-26 17:24:06 +00:00
florian
8ef29235c3 * Xtensa: set source_cpu_string
git-svn-id: trunk@45117 -
2020-04-26 17:23:24 +00:00
nickysn
7957560fba + implemented tcgz80.a_adjust_sp
git-svn-id: branches/z80@45116 -
2020-04-26 17:04:15 +00:00
marcus
ca0689df53 AmigaOS4: fixed packing in clipboard unit
git-svn-id: trunk@45115 -
2020-04-26 16:52:53 +00:00
marcus
86fa90b400 amiga: Crt, fixed cursor x and y position
git-svn-id: trunk@45114 -
2020-04-26 16:47:47 +00:00
nickysn
723faf14a9 - removed GetByteLoc, because it isn't used
git-svn-id: branches/z80@45113 -
2020-04-26 16:44:14 +00:00
nickysn
ff0c771e2e - removed unused local vars
git-svn-id: branches/z80@45112 -
2020-04-26 16:42:19 +00:00
nickysn
9b9197c06e * formatting
git-svn-id: branches/z80@45111 -
2020-04-26 16:42:03 +00:00
nickysn
5de66f75a0 - removed commented out code from tcgz80.a_cmp_reg_reg_label
git-svn-id: branches/z80@45110 -
2020-04-26 16:41:44 +00:00
nickysn
ab8f9cc707 - removed commented out code from tcgz80.done_register_allocators
git-svn-id: branches/z80@45109 -
2020-04-26 16:40:52 +00:00
nickysn
1713176078 - removed commented out code from tcgz80.a_load_reg_cgpara
git-svn-id: branches/z80@45108 -
2020-04-26 16:40:21 +00:00
nickysn
3d5452cda3 - removed commented out code from tcgz80.a_load_ref_cgpara
git-svn-id: branches/z80@45107 -
2020-04-26 16:39:36 +00:00
nickysn
ab6d9e9df9 - removed tcgz80.maybegetcpuregister, because it isn't used
git-svn-id: branches/z80@45106 -
2020-04-26 16:38:29 +00:00
nickysn
05ca71133f + implemented OP_MUL/OP_IMUL in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@45105 -
2020-04-26 16:37:53 +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
3a80895e34 * fixed section writing with smartlinking the sdcc-sdasz80 asm writer
git-svn-id: branches/z80@45103 -
2020-04-26 15:35:03 +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
3e38e3acc5 + added system_z80_embedded to systems_embedded
git-svn-id: branches/z80@45101 -
2020-04-26 14:45:31 +00:00
nickysn
3dec4eece8 * fixed Z80 setjmp/longjmp
git-svn-id: branches/z80@45100 -
2020-04-26 14:39:27 +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
3afdab19a1 + implemented fpc_setjmp and fpc_longjmp for the Z80
git-svn-id: branches/z80@45095 -
2020-04-26 13:30:13 +00:00
florian
f72a795cc7 * fixed SetIsEmpty
git-svn-id: trunk@45094 -
2020-04-26 13:11:02 +00:00
nickysn
085fdcf3ab * moved the ZX Spectrum program load address lower, so we could fit more code and data
git-svn-id: branches/z80@45093 -
2020-04-26 12:30:05 +00:00
svenbarth
04554d7505 * use a more detailed error message if a type is not allowed for a generic constant parameter
git-svn-id: trunk@45092 -
2020-04-26 11:46:24 +00:00
svenbarth
287c298f37 * regenerate msg{txt,idx}.inc
git-svn-id: trunk@45091 -
2020-04-26 11:46:18 +00:00
svenbarth
258331e914 + add an explicit error message if a type is not supported for a generic constant parameter
git-svn-id: trunk@45090 -
2020-04-26 11:46:14 +00:00
svenbarth
a467332187 * fix for Mantis #36975: arraydefs are not allowed for generic types (this is only used for type declarations; for specializing constant strings which are char arrays are still allowed)
+ added test

git-svn-id: trunk@45089 -
2020-04-26 11:46:10 +00:00
svenbarth
7757306c78 * destroying constnone constsyms can occur when parsing a generic with a constant parameter that results in an error (e.g. unsupported type)
git-svn-id: trunk@45088 -
2020-04-26 11:46:06 +00:00
Jonas Maebe
f5e89ded35 * fix tc_bool_2_int simplification in case pass typecheck runs again, e.g.
after getting a copy of the node during CSE (fixes taddset4 compilation
    with LLVM after r44712)

git-svn-id: trunk@45087 -
2020-04-26 11:36:42 +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
3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the
label length limit

git-svn-id: branches/z80@45085 -
2020-04-26 10:42:07 +00:00
nickysn
4165e3224a - removed some commented out code that won't be needed
git-svn-id: branches/z80@45084 -
2020-04-26 10:36:17 +00:00
nickysn
55f12aac03 + added the tf_no_objectfiles_when_smartlinking target flag to z80-zxspectrum and z80-embedded
git-svn-id: branches/z80@45083 -
2020-04-26 10:22:07 +00:00
nickysn
b1f7770845 + enable tf_smartlink_library and support library-based smartlinking on the z80-embedded target
git-svn-id: branches/z80@45082 -
2020-04-26 10:19:06 +00:00