I finally got a chance to put together a proper development environment: have a BBA and a crossover cable to push binaries to the DC via DC-IP, built the latest version of KOS on Linux Mint.
I can compile and run code on the DC but can't find an easy way to dump let's say a variable into the system console. DC-IP doesn't seem to pass back values like standard console output so printf doesn't do anything. How do I trace the text output of a KGL application I'm running?
tracing values in console
- Dev
- DCEmu Fast Newbie
- Posts: 19
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Mon Dec 21, 2015 7:35 am
- Location: Cyberspace
- Has thanked: 0
- Been thanked: 0
-
- DC Developer
- Posts: 104
- Joined: Sun Oct 04, 2009 11:13 am
- Has thanked: 2 times
- Been thanked: 89 times
Re: tracing values in console
Try fflushing stdout. Printf through DC-Load-IP definitely does work, that's how I do all my debugging.