olikraus / dogm128

Automatically exported from code.google.com/p/dogm128
Other
20 stars 6 forks source link

Port to PIC #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps for Porting to PIC 
1. Find a way for coexistence of "PROGMEM" and "rom" keyword
2. Change the bdf2dogm font converter with respect to 1.
3. Change existing PROGMEM and PGM_P use to the concept of 1.
Result should be a first version of the port
4. Add new functions for procedures dealing with rom pointer
Result should be a second version of the port

Original issue reported on code.google.com by olikr...@gmail.com on 24 Sep 2010 at 8:10

GoogleCodeExporter commented 9 years ago
Based on the predefined macros, check if it possible to
define a suitable rom poiter, say
dog_rom_ptr_t

Original comment by olikr...@gmail.com on 25 Sep 2010 at 4:42

GoogleCodeExporter commented 9 years ago
see http://www.xargs.com/pic/picc18-vs-c18.html for some PIC issues.
important details:
- strings are of type "rom const char []" 
- right shift on signed will NOT preserver the sign bit
- it seems that integer promotion is also not applied to constant expression 
evaluation

Original comment by olikr...@gmail.com on 2 Oct 2010 at 5:42

GoogleCodeExporter commented 9 years ago
rom objects must not be larger that 256 bytes (breaks spacetrash??)

Original comment by olikr...@gmail.com on 2 Oct 2010 at 6:00