mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Fixed the cart directory build code to handle even simple programs.
Carts can be built containing programs that don't link some segments.
This commit is contained in:
parent
3885dd8504
commit
103d3ccfcd
@ -6,8 +6,7 @@
|
|||||||
.include "lynx.inc"
|
.include "lynx.inc"
|
||||||
.import __STARTOFDIRECTORY__
|
.import __STARTOFDIRECTORY__
|
||||||
.import __MAIN_START__
|
.import __MAIN_START__
|
||||||
.import __CODE_SIZE__, __DATA_SIZE__, __RODATA_SIZE__
|
.import __STARTUP_LOAD__, __BSS_LOAD__
|
||||||
.import __STARTUP_SIZE__, __ONCE_SIZE__, __LOWCODE_SIZE__
|
|
||||||
.import __BANK0BLOCKSIZE__
|
.import __BANK0BLOCKSIZE__
|
||||||
.export __DEFDIR__: absolute = 1
|
.export __DEFDIR__: absolute = 1
|
||||||
|
|
||||||
@ -21,7 +20,7 @@ off0 = __STARTOFDIRECTORY__ + (__DIRECTORY_END__ - __DIRECTORY_START__)
|
|||||||
blocka = off0 / __BANK0BLOCKSIZE__
|
blocka = off0 / __BANK0BLOCKSIZE__
|
||||||
; Entry 0 - first executable
|
; Entry 0 - first executable
|
||||||
block0 = off0 / __BANK0BLOCKSIZE__
|
block0 = off0 / __BANK0BLOCKSIZE__
|
||||||
len0 = __STARTUP_SIZE__ + __ONCE_SIZE__ + __CODE_SIZE__ + __DATA_SIZE__ + __RODATA_SIZE__ + __LOWCODE_SIZE__
|
len0 = __BSS_LOAD__ - __STARTUP_LOAD__
|
||||||
.byte <block0
|
.byte <block0
|
||||||
.word off0 & (__BANK0BLOCKSIZE__ - 1)
|
.word off0 & (__BANK0BLOCKSIZE__ - 1)
|
||||||
.byte $88
|
.byte $88
|
||||||
|
@ -692,9 +692,8 @@ EXELIST_bbc = \
|
|||||||
EXELIST_lunix = \
|
EXELIST_lunix = \
|
||||||
notavailable
|
notavailable
|
||||||
|
|
||||||
# none of the testcode can work on the lynx (library support is broken!)
|
|
||||||
EXELIST_lynx = \
|
EXELIST_lynx = \
|
||||||
notavailable
|
minimal
|
||||||
|
|
||||||
# Unlisted targets will try to build everything.
|
# Unlisted targets will try to build everything.
|
||||||
# That lets us learn what they cannot build, and what settings
|
# That lets us learn what they cannot build, and what settings
|
||||||
|
Loading…
Reference in New Issue
Block a user