Commit Graph

58424 Commits

Author SHA1 Message Date
nickysn
3e3a392d88 * z80 regdat files regenerated
git-svn-id: branches/z80@44625 -
2020-04-06 22:49:05 +00:00
nickysn
692ec2fcba * synchronized with trunk
git-svn-id: branches/z80@44623 -
2020-04-06 22:14:42 +00:00
florian
f99fbafabc + initial thlcgxtensa.g_intf_wrapper
git-svn-id: trunk@44622 -
2020-04-06 20:44:33 +00:00
florian
759803f268 * improve assembler reader
git-svn-id: trunk@44621 -
2020-04-06 20:44:32 +00:00
florian
2e23e2b0fd + optimize SUB for small constants using ADDI
git-svn-id: trunk@44620 -
2020-04-06 20:44:32 +00:00
florian
04f3784af5 * better setting of expectloc
git-svn-id: trunk@44619 -
2020-04-06 20:44:31 +00:00
pierre
6a6ef1c8c1 Update revision.inc after commit #44544
git-svn-id: trunk@44618 -
2020-04-06 06:44:20 +00:00
pierre
9dd0a1f3b5 Fix ppudump after addition of system_xtensa_linux target
git-svn-id: trunk@44617 -
2020-04-06 06:43:05 +00:00
nickysn
9922956115 * use the sdcc-sdldz80 linker instead of sdcc-sdld on the Z80
git-svn-id: branches/z80@44616 -
2020-04-05 22:33:20 +00:00
nickysn
487da972ad + added z80-embedded to the compiler help screen
git-svn-id: branches/z80@44615 -
2020-04-05 21:33:34 +00:00
florian
79f74bf8cb + xtensa-linux added to systems_linux
git-svn-id: trunk@44614 -
2020-04-05 21:12:15 +00:00
florian
4836ff29bd + more instructions
git-svn-id: trunk@44613 -
2020-04-05 21:12:14 +00:00
florian
460369405e + xtensa-linux: OS specific system unit header files
git-svn-id: trunk@44612 -
2020-04-05 21:12:13 +00:00
florian
e8fabb752a + basic xtensa-linux support in the compiler
git-svn-id: trunk@44611 -
2020-04-05 21:12:12 +00:00
florian
eee2e9f950 * commented test
git-svn-id: trunk@44610 -
2020-04-05 21:12:12 +00:00
nickysn
052bc6c5e8 * synchronized with trunk
git-svn-id: branches/z80@44609 -
2020-04-05 20:52:53 +00:00
nickysn
6dcc12f19b * use the .ihx file name, instead of .elf for the z80-embedded output, because it is in Intel hex
format, not ELF

git-svn-id: branches/z80@44608 -
2020-04-05 20:51:54 +00:00
nickysn
891939d7ea + add the -n option first to the sdcc-sdld linker, so it doesn't echo all the data on the screen. For
debugging purposes, this can be overriden with the -k-p fpc option.

git-svn-id: branches/z80@44607 -
2020-04-05 20:50:31 +00:00
nickysn
b1047523c8 * moved $MAP earlier in the command line of sdcc-sdld
git-svn-id: branches/z80@44606 -
2020-04-05 20:48:37 +00:00
nickysn
9d5a07a59a + allow passing extra options to the sdcc-sdld linker via the -k option
git-svn-id: branches/z80@44605 -
2020-04-05 20:36:42 +00:00
nickysn
5b0f177b62 + create linker map file generation added for sdcc-sdld
git-svn-id: branches/z80@44604 -
2020-04-05 20:32:25 +00:00
nickysn
77406b1560 * delete the linker response file after linking with sdld
git-svn-id: branches/z80@44603 -
2020-04-05 20:26:53 +00:00
nickysn
e73a57652f + initial support for the sdcc-sdld linker for the z80-embedded target
git-svn-id: branches/z80@44602 -
2020-04-05 17:46:06 +00:00
nickysn
fffeb56a55 + show help when run without any parameters
git-svn-id: branches/z80@44601 -
2020-04-05 16:43:55 +00:00
nickysn
a6eb389e61 + allow specifying the names of the BASIC loader program and the machine code program on the tap
git-svn-id: branches/z80@44600 -
2020-04-05 16:42:46 +00:00
florian
2f5d51436e + with the randseed set as in the test, the test fails on x86_64-linux, added so it won't be forgotten
git-svn-id: trunk@44599 -
2020-04-05 16:26:11 +00:00
florian
0f06a7205b * do not create full copies of objects when object checking is on, resolves #36863
git-svn-id: trunk@44598 -
2020-04-05 16:26:10 +00:00
nickysn
e1e96099c4 + allow specifying the output file as a second parameter
git-svn-id: branches/z80@44597 -
2020-04-05 16:07:11 +00:00
nickysn
4b19f323d5 * create the output file, using the same name as the input file, but change the extension to .tzx
git-svn-id: branches/z80@44596 -
2020-04-05 15:58:14 +00:00
nickysn
55960df57e + introduced method AppendDataBlock to avoid code duplication
git-svn-id: branches/z80@44595 -
2020-04-05 15:55:34 +00:00
nickysn
0ace5d96a7 * factored out the file header writing to a new method TTZXWriter.AppendHeader to avoid code repetition
git-svn-id: branches/z80@44594 -
2020-04-05 15:50:27 +00:00
nickysn
f7c213738e * fixed the encoding of negative integers in BAS_EncodeNumber
git-svn-id: branches/z80@44593 -
2020-04-05 15:28:32 +00:00
nickysn
686022c971 + introduced BAS_EncodeLine to make it easier to construct BASIC programs
git-svn-id: branches/z80@44592 -
2020-04-05 15:13:53 +00:00
nickysn
8619a8cb32 + introduced BAS_EncodeNumber to make it easier to encode numbers in the BASIC program
git-svn-id: branches/z80@44591 -
2020-04-05 15:06:26 +00:00
nickysn
ac1d4ad499 + added unit zxbasic, containing ZX Spectrum constants for the ZX BASIC keywords
* use these constants to construct the BASIC program loader (so it's now less cryptic what we're writing there)

git-svn-id: branches/z80@44590 -
2020-04-05 14:51:08 +00:00
nickysn
65d2220eb9 + added description in the inital source files comments of ihx2tzx
git-svn-id: branches/z80@44589 -
2020-04-05 14:31:40 +00:00
nickysn
175cbf672f + initial implementation of an .IHX (Intel hex format) to .TZX (ZX Spectrum tape file format) file conversion tool
git-svn-id: branches/z80@44588 -
2020-04-05 04:23:46 +00:00
nickysn
d8ca077c33 + add externals as .globl directives in the sdcc-sdasz80 assembler output
git-svn-id: branches/z80@44587 -
2020-04-04 23:15:57 +00:00
nickysn
c0b4e5c994 - removed the unused 's: topsize' parameter to TSdccSdasZ80Assembler.WriteOper
git-svn-id: branches/z80@44586 -
2020-04-04 23:04:35 +00:00
nickysn
1b06b649a7 * use is_calljmp to determine whether to use WriteOper_jmp in the sdcc-sdasz80 asm writer. This fixes
asm output for call instructions.

git-svn-id: branches/z80@44585 -
2020-04-04 23:03:13 +00:00
nickysn
87eae35e2f * synchronize with trunk
git-svn-id: branches/z80@44584 -
2020-04-04 22:54:29 +00:00
nickysn
fdc24164a0 + implemented 8-bit signed comparisons as well
git-svn-id: branches/z80@44583 -
2020-04-04 20:59:52 +00:00
nickysn
8a1be73ce0 * also use the unsigned 8-bit comparison code for 8-bit signed equal/unequal comparisons
git-svn-id: branches/z80@44582 -
2020-04-04 20:28:53 +00:00
nickysn
55c18a11a0 - removed commented out code from TZ80AddNode.second_cmp
git-svn-id: branches/z80@44581 -
2020-04-04 20:16:11 +00:00
nickysn
9dc8744b53 - removed debug writeln
git-svn-id: branches/z80@44580 -
2020-04-04 20:15:10 +00:00
nickysn
59d7a45215 * generate more optimal code for unsigned 8-bit comparisons in TZ80AddNode.second_cmp
git-svn-id: branches/z80@44579 -
2020-04-04 20:14:31 +00:00
florian
e32027c8d3 + add missing semicolon, resolves #36868
git-svn-id: trunk@44578 -
2020-04-04 20:04:01 +00:00
florian
0ff034216a + xtensa-linux support for the rtl makefile
git-svn-id: trunk@44577 -
2020-04-04 20:01:13 +00:00
nickysn
5585bdb6aa + also support unsigned 8-bit > and <= in TZ80AddNode.second_cmp. All 8-bit unsigned comparisons now
work.

git-svn-id: branches/z80@44576 -
2020-04-04 17:49:13 +00:00
nickysn
f52f9dc56b + added a not-yet-complete implementation of TZ80AddNode.second_cmp. Only 8-bit unsigned comparison
works for now, and only for the <,= and <> operators

git-svn-id: branches/z80@44575 -
2020-04-04 17:15:31 +00:00