Skip to content

Commit

Permalink
fix stack allingment
Browse files Browse the repository at this point in the history
  • Loading branch information
jjonethal committed Nov 5, 2015
1 parent c1747a7 commit bd806f2
Show file tree
Hide file tree
Showing 12 changed files with 2,234 additions and 1,242 deletions.
Binary file modified kl25z128-ra/mecrisp-stellaris-kl25z128.bin
Binary file not shown.
1,270 changes: 1,270 additions & 0 deletions kl25z128-ra/mecrisp-stellaris-kl25z128.srec

Large diffs are not rendered by default.

2,147 changes: 934 additions & 1,213 deletions kl25z128/mecrisp-stellaris-kl25z128.srec

Large diffs are not rendered by default.

Binary file modified linux-ra/mecrisp-stellaris-linux
Binary file not shown.
Binary file modified lm4f120-ra/mecrisp-stellaris-lm4f120.bin
Binary file not shown.
Binary file modified lpc1114fn28-ra/mecrisp-stellaris-lpc1114fn28.bin
Binary file not shown.
30 changes: 15 additions & 15 deletions lpc1114fn28-ra/mecrisp-stellaris-lpc1114fn28.hex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:1000000086040010FD4B0000494B0000494B0000E6
:100000008C040010FD4B0000494B0000494B0000E0
:1000100000000000000000000000000000000000E0
:10002000000000000000000000000000734B000012
:100030000000000000000000734B0000274B000090
Expand Down Expand Up @@ -305,7 +305,7 @@
:101300000E007047441300000000052D726F6C6CD6
:10131000002E01D140CF7047386839464A680A60CC
:101320000431013EFAD1086040CF70470437000015
:10133000860300108604001000B4000000BC00000A
:101330008C0300108C04001000B4000000BC0000FE
:1013400001B000005C130000620203616E6401CF13
:1013500006407047043F3E606F4EC0E078130000C7
:1013600062020362696301CFB04306007047043F25
Expand Down Expand Up @@ -520,7 +520,7 @@
:1020700020210A0002F044FD00B5322101E000B544
:10208000342108480160052141600721816003492E
:102090000968C1600449054A904700BDDC0F001083
:1020A000FFFFFFFF060700101A070010F11FFF1FB8
:1020A000FFFFFFFF0C07001020070010F11FFF1FAC
:1020B000D0200000000009696E6974666C61736865
:1020C000534854490022027001300139FBD1704756
:1020D000B821000000000768666C6173682130B5A4
Expand All @@ -543,7 +543,7 @@
:1021E0000139F5D100BD043F3E604668043F3E60C2
:1021F0008668043F3E60C668043F3E600669043F4F
:102200003E600F26F64302681640002202607047C7
:1022100086040010800200000050000048220000E8
:102210008C040010800200000050000048220000E2
:102220006202012B01CF3618704700B5FEF7F3F9B3
:10223000043F3E60D14E043F3E60D14E8168282964
:1022400012D1FEF74DFF0FE0B02200006202012D17
Expand Down Expand Up @@ -652,14 +652,14 @@
:1028B0008100033E696E043F3E60274E7047000072
:1028C0000000C046EC28000082000E63757272653D
:1028D0006E742D736F7572636500043F3E601F4E0A
:1028E000704700000000BE000010C046082900002C
:1028E000704700000000C4000010C0460829000026
:1028F000000009736574736F75726365174802CFC2
:102900000660416040CF7047282900000000067330
:102910006F7572636500043F3E60104E043F70683F
:10292000386036687047C0466029000000000571B5
:10293000756572790FB5084800210160FFF7B1FF96
:10294000043F3E60043F3E60C826FFF770FFFFF77C
:10295000D5FF0FBDBE000010C00F0010B80F001053
:10295000D5FF0FBDC4000010C00F0010B80F00104D
:10296000B0290000000007636F6D706172650FB5DC
:10297000310040CF01CF884202D040CF00260FBDAA
:1029800002CF002810D001380A5C335C412A02D300
Expand Down Expand Up @@ -718,7 +718,7 @@
:102CD000FFF726FFFFF7D8FE010A00F09AFE30004A
:102CE00040CFBDD040CF00BD882A0000B62A0000EA
:102CF000DE2A0000792B000093460000A546000064
:102D000086030010D80F0010820300105C2E000014
:102D00008C030010D80F0010880300105C2E000008
:102D100000001072656769737465726C697465721E
:102D2000616C2C003FB5B44B3868184098420FD105
:102D30003868C043386040B400F00DF8043F3E608E
Expand Down Expand Up @@ -921,7 +921,7 @@
:10398000D8FD043F3E600D4EFFF7A3FDFFF714FE88
:10399000FFF763FCFFF7F9FC00BD0000000000101A
:1039A0002000001004000010FFFFFFFFFFFF0000D9
:1039B00014000010240000102A07001070470000B7
:1039B00014000010240000103007001070470000B1
:1039C0003E60043F02367E4640010000FC390000A4
:1039D00000000F64696374696F6E6172797374615A
:1039E0007274424800684149043F3E60884201D2F7
Expand Down Expand Up @@ -1129,7 +1129,7 @@
:10468000FEF7B0F900BDC0469C4600000000027570
:104690002E00043F3E600026D5E7C0465848000083
:1046A0000000012E043F3E60F617D8E7D80F001037
:1046B0007E00001030B5D44C2568002D01D13D009E
:1046B0008400001030B5D44C2568002D01D13D0098
:1046C000256030BD30B5D04C3D00256030BD30B5E3
:1046D000CD4C0025256030BDCB4B1B68DB1B9B08F8
:1046E000704700B5310040CFC848084002D000F004
Expand All @@ -1146,9 +1146,9 @@
:104790003E60160010220A4002D0FEF72CFD00BD3C
:1047A00020220A4002D0FEF77EFC00BDFEF75CFB33
:1047B00000BD0FB5320040CF330040CF99480168AB
:1047C000052907D2062041439748401803801B0C57
:1047C000062907D2062041439748401803801B0C56
:1047D0004380828093480168013101600FBD0FB5AD
:1047E0009048016805291ED88F48013916D0043F2A
:1047E0009048016806291ED88F48013916D0043F29
:1047F0003E600E00FEF76DFE043F3E600688FEF749
:1048000068FE043F3E604688FEF763FE043F3E605C
:104810008688FEF75EFE06300139EDD1043F3E602A
Expand Down Expand Up @@ -1185,8 +1185,8 @@
:104A000005206F6B2E0AF5E708000010001000006B
:104A10000004000000200000000200002800001038
:104A2000000800005C00001060000010C00F0010C3
:104A30008603001086010010B40F0010B00F0010A4
:104A400086040010D80F0010B80F0010BE00001030
:104A30008C0300108C010010B40F0010B00F001098
:104A40008C040010D80F0010B80F0010C400001024
:104A50006C4A000000000565696E743F043F3E60CB
:104A6000EFF31086013EB6417047C0467C4A000015
:104A700020000465696E740062B670478C4A0000BD
Expand Down Expand Up @@ -1234,8 +1234,8 @@
:104D1000002E02D0FEF76FFA69E640CF52E6696EC8
:104D2000697400000CED00E00400FA05AC0F0010FF
:104D3000A80F0010A40F0010A00F00109C0F00106F
:104D4000980F001086040010860300100000001069
:104D50002A0700100400001000030000E00F0010FC
:104D4000980F00108C0400108C030010000000105D
:104D5000300700100400001000030000E00F0010F6
:104D6000FFFF0000000100001C00001024000010E4
:104D70000080000000500000180000100800001023
:044D80001E4D0000C4
Expand Down
2 changes: 1 addition & 1 deletion mecrisp-stellaris-source/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ make clean all && ls -l *.bin && md5sum *.bin && cp *.bin ../../kl25z128 && cp *
cd ..

cd kl25z128-ra
make clean all && ls -l *.bin && md5sum *.bin && cp *.bin ../../kl25z128-ra && cp *.srec ../../kl25z128
make clean all && ls -l *.bin && md5sum *.bin && cp *.bin ../../kl25z128-ra && cp *.srec ../../kl25z128-ra
cd ..

cd mk20dx256
Expand Down
3 changes: 2 additions & 1 deletion mecrisp-stellaris-source/common/forth-core.s
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ramallot inline_cache_count, 4


.equ rawinlinelength, 10 @ How many opcodes long may definitions be for direct inlining ?
.equ inline_cache_length, 5 @ For optimisation across inlined definitions, how many compilation steps should be buffered at most ?
.equ inline_cache_length, 6 @ For optimisation across inlined definitions, how many compilation steps should be buffered at most ?

ramallot inline_cache, 6 * inline_cache_length

Expand All @@ -104,6 +104,7 @@ ramallot Zahlenpuffer, Zahlenpufferlaenge+1 @ Reserviere mal großzügig 64 Byte
.equ Maximaleeingabe, 200 @ Input buffer for an Address-Length string
ramallot Eingabepuffer, Maximaleeingabe @ Eingabepuffer wird einen Adresse-Länge String enthalten

.set rampointer, (rampointer + 3 ) & (~ 3) @ allign stacks to word

.ifdef flash16bytesblockwrite
ramallot datenstackende, 512 @ Larger data stack because it will be used for buffering a 256 byte block
Expand Down
Binary file modified stm32f303-ra/mecrisp-stellaris-stm32f303.bin
Binary file not shown.
24 changes: 12 additions & 12 deletions stm32f303-ra/mecrisp-stellaris-stm32f303.hex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:020000040800F2
:1000000086030020E7490000274800002748000039
:100000008C030020E7490000274800002748000033
:100010002748000027480000274800000000000093
:100020000000000000000000000000005548000033
:10003000554800000000000055480000FF47000040
Expand Down Expand Up @@ -279,7 +279,7 @@
:101150001A6802600438013EF9D104370E00704766
:10116000901100000000052D726F6C6C002E01D1F3
:1011700040CF7047386839464A680A600431013EFA
:10118000FAD1086040CF7047860200208603002015
:10118000FAD1086040CF70478C0200208C03002009
:10119000AA110000620203616E6401CF064070472D
:1011A00047F8046D44F20006D0E0C6110000620268
:1011B0000362696301CFB0430600704747F8046DCE
Expand Down Expand Up @@ -607,13 +607,13 @@
:1025D000696E47F8046D264E70470000000004261F
:1025E000000082000E63757272656E742D736F75D4
:1025F0007263650047F8046D1E4E704700000000CE
:10260000BE00002020260000000009736574736F6F
:10260000C400002020260000000009736574736F69
:1026100075726365174802CF0660416040CF70470E
:102620003E260000000006736F757263650047F870
:10263000046D104E043F7068386036687047782625
:10264000000000000571756572790FB5084800211A
:102650000160FFF7B5FF47F8046D47F8046DC82621
:10266000FFF775FFFFF7D6FF0FBD0000BE0000208B
:10266000FFF775FFFFF7D6FF0FBD0000C400002085
:10267000E49F0020DC9F0020C626000000000763C6
:102680006F6D706172650FB5310040CF01CF884228
:1026900002D040CF00260FBD02CF002810D0013855
Expand Down Expand Up @@ -671,7 +671,7 @@
:1029D000046D0636FFF729FFFFF7DFFE010A00F05E
:1029E00097FE300040CFBDD040CF00BD9A270000F9
:1029F000C4270000EA27000081280000734300007C
:102A00008343000086020020FC9F002082020020F9
:102A0000834300008C020020FC9F002088020020ED
:102A1000742B000000000D3132626974656E636FC3
:102A200064696E670FB5FF2E04D847F8046D5FF038
:102A3000FF360FBD16F0FF10B0420ED14FF6FF71FA
Expand Down Expand Up @@ -875,7 +875,7 @@
:103690007076FFF7AAFDFFF71AFEFFF786FCFFF72B
:1036A00013FD00BD000000202000002004000020C9
:1036B000FFFFFFFFFFFF0000140000202400002098
:1036C000860300203E60043F02367E46FA36000044
:1036C0008C0300203E60043F02367E46FA3600003E
:1036D00000000F64696374696F6E6172797374615D
:1036E000727441480068404947F8046D884201D22D
:1036F0003E4E70473E4E366870473437000000003B
Expand Down Expand Up @@ -1080,7 +1080,7 @@
:1043600078FAFEF7C9F900BD7A4300000000027533
:104370002E0047F8046D0026D7E73A4500000000FC
:10438000012E47F8046DF617DAE70000FC9F0020C5
:104390007E00002030B5D44C2568002D01D13D00B1
:104390008400002030B5D44C2568002D01D13D00AB
:1043A000256030BD30B5D04C3D00256030BD30B506
:1043B000CD4C0025256030BDCB4B1B68DB1B9B081B
:1043C000704700B5310040CFC848084002D000F027
Expand All @@ -1097,9 +1097,9 @@
:10447000046D160010220A4002D0FEF766FD00BD52
:1044800020220A4002D0FEF7B1FC00BDFEF7DBFBA4
:1044900000BD0FB5320040CF330040CF99480168CE
:1044A000052907D2062041439748401803801B0C7A
:1044A000062907D2062041439748401803801B0C79
:1044B0004380828093480168013101600FBD0FB5D0
:1044C0009048016805291FD88F48013916D047F850
:1044C0009048016806291FD88F48013916D047F84F
:1044D000046D0E00FEF789FE47F8046D0688FEF7AE
:1044E00084FE47F8046D4688FEF77FFE47F8046DAA
:1044F0008688FEF77AFE06300139EDD147F8046D63
Expand Down Expand Up @@ -1136,8 +1136,8 @@
:1046E0006F6B2E0AF5E700000800002000100000A4
:1046F000000400000020000000020000280000204C
:10470000000800005C00002060000020E49F002002
:104710008602002086010020D89F0020D49F002020
:1047200086030020FC9F0020DC9F0020BE000020AC
:104710008C0200208C010020D89F0020D49F002014
:104720008C030020FC9F0020DC9F0020C4000020A0
:104730004A47000000000565696E743F47F8046D44
:10474000EFF31086013EB64170475A470000200043
:104750000465696E740062B670476A470000200005
Expand Down Expand Up @@ -1202,7 +1202,7 @@
:104B0000D09F0020CC9F0020C89F0020C49F002081
:104B1000C09F0020BC9F0020B89F0020B49F0020B1
:104B2000B09F0020AC9F0020A89F0020A49F0020E1
:104B300086030020860200200000002004000020E0
:104B30008C0300208C0200200000002004000020D4
:104B40008801000000A00020FFFF0000000100001D
:104B50001C00002024000020000004000050000081
:0C4B60001800002008000020F44A0000AB
Expand Down
Binary file modified tm4c1294-ra/mecrisp-stellaris-tm4c1294.bin
Binary file not shown.

0 comments on commit bd806f2

Please sign in to comment.