Commit Graph

58409 Commits

Author SHA1 Message Date
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
nickysn
3ed692a157 + implemented tcgz80.a_jmp_flags
git-svn-id: branches/z80@44574 -
2020-04-04 17:07:54 +00:00
nickysn
ff655543ed + support conditional jumps in the sdcc-sdasz80 assembler writer
git-svn-id: branches/z80@44573 -
2020-04-04 17:05:49 +00:00
nickysn
d05a632616 + write jump operands (not all forms supported yet) in the sdcc-sdasz80 asm output
git-svn-id: branches/z80@44572 -
2020-04-04 16:59:14 +00:00
nickysn
fb3a079916 * updated TAsmCond and TResFlags for the Z80
git-svn-id: branches/z80@44571 -
2020-04-04 16:12:47 +00:00
nickysn
99e304165e * fix for 64-bit OP_AND/OP_OR/OP_XOR in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@44570 -
2020-04-04 15:33:01 +00:00
nickysn
c0b3eb70ac + fix for 64-bit OP_NOT in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@44569 -
2020-04-04 15:30:43 +00:00
nickysn
5b8fd51b3a + implemented OP_NEG in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@44568 -
2020-04-04 15:27:28 +00:00
nickysn
a362c3247d + added instruction encoding info for all the remaining Z80 instructions
git-svn-id: branches/z80@44567 -
2020-04-04 13:49:07 +00:00
Károly Balogh
086c897981 amicommon: m68k-amiga legacy support
git-svn-id: trunk@44566 -
2020-04-04 13:24:29 +00:00
Károly Balogh
8816a0b601 m68k-amiga: startup code now uses legacyexech, instead of explicitly declaring legacy support functions it needs
git-svn-id: trunk@44565 -
2020-04-04 13:22:46 +00:00
Károly Balogh
8d690546f3 m68k-amiga: make all legacy support functions have a public name, and supply headers for them (will be utilized by athreads, dos, and sysutils units)
git-svn-id: trunk@44564 -
2020-04-04 13:21:54 +00:00
Károly Balogh
632353a808 m68k-amiga: prepare the startup code and system unit for legacy support
git-svn-id: trunk@44563 -
2020-04-04 12:53:00 +00:00
Károly Balogh
433e40fe71 m68k-amiga: while trying to construct ParamStr(0), if the directory is empty, do not prepend the binary name with '/'
git-svn-id: trunk@44562 -
2020-04-04 12:48:51 +00:00
Károly Balogh
e0fe8bd175 m68k-amiga: implemented functions required for basic parameter handling in legacydos
git-svn-id: trunk@44561 -
2020-04-04 12:40:55 +00:00
Károly Balogh
f5becf9ac6 m68k-amiga: implemented StackSwap and DeletePool in legacyexec support, also declare public name for a few functions, so the startup code can hook into them
git-svn-id: trunk@44560 -
2020-04-04 12:39:55 +00:00