Rev 8221 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8221 | Rev 8473 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | ; Name: kolibri_dbg |
2 | ; Name: kolibri_dbg |
3 | ; |
3 | ; |
4 | ; Exports: |
4 | ; Exports: |
5 | ; debug_print(msg) - prints a message to debug board. |
5 | ; debug_print(msg) - prints a message to debug board. |
Line 6... | Line 6... | ||
6 | 6 | ||
- | 7 | format coff |
|
- | 8 | use32 ; Tell compiler to use 32 bit instructions |
|
- | 9 | ||
7 | format ELF |
10 | section '.init' code ; Keep this line before includes or GCC messes up call addresses |
8 | use32 |
11 | |
9 | include '../../../../proc32.inc' |
12 | include '../../../proc32.inc' |
- | 13 | include '../../../struct.inc' |
|
10 | include '../../../../struct.inc' |
14 | purge section,mov,add,sub |
Line -... | Line 15... | ||
- | 15 | include 'tinypy.inc' |
|
- | 16 | ||
11 | include 'tinypy.inc' |
17 | include '../../../../programs/dll.inc' |
12 | 18 | ||
13 | extrn tp_dict |
19 | extrn '_tp_dict' as tp_dict |
14 | extrn tp_set |
20 | extrn '_tp_set' as tp_set |
15 | extrn tp_get |
21 | extrn '_tp_get' as tp_get |
Line 16... | Line 22... | ||
16 | extrn tp_None |
22 | extrn '_tp_None' as tp_None |
Line 17... | Line 23... | ||
17 | extrn tp_fnc |
23 | extrn '_tp_fnc' as tp_fnc |
18 | 24 | ||
19 | public kolibri_dbg_init |
25 | public kolibri_dbg_init as '_kolibri_dbg_init' |