Skip to content

Commit 797ecf9

Browse files
committed
Move library and library-asm to arch/zx48k
Big change here! This one allows setting architecture (--arch=zx48k, which is the default) and the includes used will be the one there.
1 parent 617a355 commit 797ecf9

214 files changed

Lines changed: 37 additions & 7 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def init():
6969
OPTIONS.add_option('Sinclair', bool, False)
7070
OPTIONS.add_option('strict', bool, False) # True to force type checking
7171
OPTIONS.add_option('zxnext', bool, False) # True to enable ZX Next ASM opcodes
72+
OPTIONS.add_option('architecture', str) # Architecture
7273

7374

7475
init()

arch/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33
# vim:ts=4:et:sw=4:
44

@@ -8,3 +8,5 @@
88
__all__ = [
99
'zx48k',
1010
]
11+
12+
AVAILABLE_ARCHITECTURES = __all__

0 commit comments

Comments
 (0)