Commit Graph

59371 Commits

Author SHA1 Message Date
nickysn
5816a4a940 * fixed a bug in the Z80 internal linker when reading symbol offsets from .rel files
git-svn-id: trunk@45622 -
2020-06-07 23:21:42 +00:00
nickysn
a0e2cd3638 * use qword instead of aword for bsssize to avoid 8-bit truncation on Z80
git-svn-id: trunk@45621 -
2020-06-07 23:07:39 +00:00
nickysn
47ba80a545 * the len parameter of TObjData.writebytes changed to TObjSectionOfs to avoid 8-bit truncation on Z80
git-svn-id: trunk@45620 -
2020-06-07 23:05:13 +00:00
nickysn
dfa736bdca + add the _BSSEND section after the _BSS section
git-svn-id: trunk@45619 -
2020-06-07 22:17:47 +00:00
nickysn
09bd361b48 + support the OFFSET directive in the Z80 inline assembler reader
git-svn-id: trunk@45618 -
2020-06-07 22:17:10 +00:00
nickysn
c90f78488c + added the 'AREA' directive support to the Z80 inline assembler, that allows
you to define custom sections

git-svn-id: trunk@45617 -
2020-06-07 20:47:37 +00:00
nickysn
3c9a5ff758 * update revision.inc
git-svn-id: trunk@45616 -
2020-06-07 20:46:37 +00:00
Mattias Gaertner
f642f6b609 pas2js: transformmodulename: use local var
git-svn-id: trunk@45615 -
2020-06-07 20:25:51 +00:00
florian
9710b2cbb4 + some basic stuff for mips64el
git-svn-id: trunk@45614 -
2020-06-07 20:04:17 +00:00
svenbarth
eb6f503bad * fix O_LARGEFILE for Aarch64, RISC-V 32-bit and RISC-V 64-bit
git-svn-id: trunk@45613 -
2020-06-07 19:09:08 +00:00
svenbarth
d1cb341cfa * include the Z80 specific intrinsic values
git-svn-id: trunk@45612 -
2020-06-07 18:22:26 +00:00
Mattias Gaertner
469993a0cc pas2js: started aliasglobals
git-svn-id: trunk@45611 -
2020-06-07 18:17:22 +00:00
michael
816ff7966b * Tests for Stack/Queue comparison with pas2js
git-svn-id: trunk@45610 -
2020-06-07 15:37:49 +00:00
svenbarth
95f94bebba * forgot to commit the generated Makefile
git-svn-id: trunk@45609 -
2020-06-07 12:25:15 +00:00
svenbarth
ac5093274d + add support for port object on Z80 using the new IN/OUT intrinsics
git-svn-id: trunk@45608 -
2020-06-07 12:25:10 +00:00
svenbarth
c793f42271 + add intrinsics for Z80 port IN/OUT
git-svn-id: trunk@45607 -
2020-06-07 12:24:59 +00:00
nickysn
5678baf887 * update revision.inc
git-svn-id: trunk@45606 -
2020-06-07 04:12:09 +00:00
florian
5f67d830e7 * better rules if a 3 op mul operation is tried
git-svn-id: trunk@45605 -
2020-06-06 19:21:04 +00:00
svenbarth
2c053b4f9c * regenerate msg{txt,idx}.inc after adding MSX-DOS to help text
git-svn-id: trunk@45604 -
2020-06-06 18:28:44 +00:00
svenbarth
3d4ad5b694 + add MSX-DOS to help text for -T
git-svn-id: trunk@45603 -
2020-06-06 18:28:39 +00:00
svenbarth
85149ab9a4 * change exe extension for MSX-DOS from exe to com
git-svn-id: trunk@45602 -
2020-06-06 18:20:40 +00:00
svenbarth
b3ddd4e786 * regenerate Makefiles
git-svn-id: trunk@45601 -
2020-06-06 17:18:48 +00:00
svenbarth
ac8552afc2 + add initial RTL for MSX DOS. Simple programs are already working, but there are apparantly some code generation problems that lead to I/O as well as parameters not working correctly
git-svn-id: trunk@45600 -
2020-06-06 17:16:45 +00:00
svenbarth
e2d8f7b68f * allow executable/library name to be changed for an intermediate file
git-svn-id: trunk@45599 -
2020-06-06 17:16:35 +00:00
svenbarth
4cc7398998 + add support for Z80 MSX-DOS to fpmake
git-svn-id: trunk@45598 -
2020-06-06 17:16:31 +00:00
svenbarth
a04ec36a61 + add support for Z80 MSX-DOS to fpcmake
git-svn-id: trunk@45597 -
2020-06-06 17:16:27 +00:00
svenbarth
921e73ab0c + add compiler support for the Z80 MSX-DOS target
git-svn-id: trunk@45596 -
2020-06-06 17:16:20 +00:00
svenbarth
1e1c17cb61 * simplify code: simply raising an exception is enough, it's not necessary to call ShowException and Terminate
git-svn-id: trunk@45595 -
2020-06-06 17:16:14 +00:00
svenbarth
bf96709e39 * with ihx2tzx now also supporting binary output it makes sense to rename it to something more generic
git-svn-id: trunk@45594 -
2020-06-06 17:16:08 +00:00
svenbarth
f095bc59b0 + add ability to generate a flat binary file instead of a tape file
git-svn-id: trunk@45593 -
2020-06-06 17:16:01 +00:00
svenbarth
2b7d9c5a1f * also handle single character register names (needed on Z80 for example)
git-svn-id: trunk@45592 -
2020-06-06 17:15:57 +00:00
svenbarth
b2d6c36e70 + add support for DEFB and DEFW directives to the internal assembler reader
git-svn-id: trunk@45591 -
2020-06-06 17:15:53 +00:00
marcus
17d6999726 Amiga: make the fullscreen video draggable, map Help Key to F20
git-svn-id: trunk@45590 -
2020-06-06 15:44:07 +00:00
Mattias Gaertner
621519303b pas2js: specialized rtti with forward class
git-svn-id: trunk@45589 -
2020-06-06 12:47:41 +00:00
Mattias Gaertner
f5025f7856 fcl-passrc: fixed mem leak on error parsing generic
git-svn-id: trunk@45588 -
2020-06-05 22:09:05 +00:00
Mattias Gaertner
17850b3bb7 pas2js: parse $optimization
git-svn-id: trunk@45587 -
2020-06-05 15:45:27 +00:00
Mattias Gaertner
837b782159 fcl-passrc: parse $optimization
git-svn-id: trunk@45586 -
2020-06-05 15:45:06 +00:00
michael
35c5479f96 * Fix bug ID #37159: upstream patches
git-svn-id: trunk@45585 -
2020-06-04 13:32:47 +00:00
florian
b776d48367 + x86: optimziation MovMov2MovMov 2
git-svn-id: trunk@45582 -
2020-06-03 20:29:00 +00:00
nickysn
f5489b5678 + allow specifying the program load address for the ZX Spectrum target via the -WB option
git-svn-id: trunk@45581 -
2020-06-03 20:09:27 +00:00
nickysn
1263880ef0 - removed the z80_internal_linker build mode from the lazarus project
git-svn-id: trunk@45580 -
2020-06-03 19:37:44 +00:00
nickysn
d1377777be + enabled the ZX Spectrum internal linker
git-svn-id: trunk@45579 -
2020-06-03 19:36:41 +00:00
nickysn
84cd9e129b + ZX Spectrum internal linker: invoke the ihx2tzx to postprocess the ihx file,
produced by the internal linker (in the future, the code of this utility may
  be integrated into the compiler)
* changed the exe extension of ZX Spectrum to '.tzx'

git-svn-id: trunk@45578 -
2020-06-03 19:33:03 +00:00
nickysn
12dce172f9 + implemented TIntelHexExeOutput.DoRelocationFixup
git-svn-id: trunk@45577 -
2020-06-03 17:12:41 +00:00
nickysn
3023a9f0e2 - removed the GetCode/Data/BssSize overrides in the ZX Spectrum internal linker,
since the default implementation, inherited from parent now works

git-svn-id: trunk@45576 -
2020-06-03 15:39:28 +00:00
nickysn
4b5c8982ff + implemented IHX writing in the Z80 internal linker
git-svn-id: trunk@45575 -
2020-06-03 15:35:42 +00:00
Mattias Gaertner
dbc2d630c0 pas2js: fixed rtti record field anonymous array
git-svn-id: trunk@45574 -
2020-06-03 13:25:15 +00:00
ondrej
533312c619 Variants: fix letter case in variant type names
git-svn-id: trunk@45573 -
2020-06-03 07:02:15 +00:00
ondrej
896b7c8dc2 Variants: add varQWord to OrdinalVarTypes and varDecimal to FloatVarTypes
git-svn-id: trunk@45572 -
2020-06-03 06:56:32 +00:00
nickysn
a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map
git-svn-id: trunk@45571 -
2020-06-02 23:13:32 +00:00