Search found 55 matches
- Wed Nov 25, 2015 10:08 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47342
Re: FreeDOS support
Looking at this again, I think that you need to add -DMICROPY_NLR_SETJMP to CFLAGS and not mpconfigport.h Yeah, adding of "CFLAGS_MOD += -DMICROPY_FREEDOS=1" to the Makefile and "#if !defined(MICROPY_FREEDOS) || !MICROPY_FREEDOS" to nlrx86.S solved the problem. 8-) OK - it works fine for me. Maybe ...
- Wed Nov 25, 2015 9:35 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47342
Re: FreeDOS support
You can play games in the makefile too. Like this: https://github.com/dhylands/micropython/blob/emscripten/emscipten/Makefile#L14 This does not work, also I found that MICROPY_NLR_SETJMP in mpconfigport.h does not affect on make of nlrx86.S at all. It looks like nothing from mpconfigport.h is defin...
- Wed Nov 25, 2015 9:00 am
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47342
Re: FreeDOS support
#define MICROPY_NLR_SETJMP (1) Yeah, I have tried this before, but it looks like djgpp can't preprocess(?) *.S files, since errors are same and irrelevant to value of MICROPY_NLR_SETJMP. So I have just comment this file. After two hours I successfully built micropython for dos, and test it on my bo...
- Tue Nov 24, 2015 7:10 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47342
Re: FreeDOS support
It looks like there is no cheap way to build micropython for dos. I tried out OpenWatcom, cause I have success with building Lua 5.3.1 for FreeDos with it. But OpenWatcom does not work with make files and some gcc-specific syntax (like __attribute__). After I tried DJGPP, which was built via https:/...
- Mon Nov 23, 2015 6:41 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47342
FreeDOS port
Hi everyone! I want to make some port for FreeDOS, since we use it in some embedded things. As I expect, I need to redefine couple of hal functions, but can't find list or something with them on wiki. Also, can't get where is micropython core. Is it "py" directory? Maybe there is some "information a...