https://bitbucket.org/coutts/5dplus

sort by:
Revision Author Date Message Commit Date
0d7cbec Fix font sizes (thanks Alex!) and fixed problem of bmp_buffer moving around, using a pointer to the bmp_vram now instead of the raw address. Also testing ML menu with skeleton shoot menu, not working yet though. 21 June 2012, 12:32:49 UTC
839c524 compiles with menu.c added. Nothing draws on screen though, need to fix up bmp routines now. 18 June 2012, 19:39:30 UTC
6815f69 Fix error for modulus in vxworks.h. Just need to fix the rest of the linker errors for menu.c and it should compile. 15 June 2012, 20:55:01 UTC
d327864 Weird linker error while trying to port menu.c 15 June 2012, 19:48:24 UTC
ca9ed63 Reverting to old commit to fix makefile issues. 01 June 2012, 17:57:13 UTC
3c1f732 Add "make install" option to makefile to copy autoexec.bin to cf card. Also included empty files for menu system (need to port from magic lantern). 01 June 2012, 15:42:33 UTC
e912882 Add "make install" option to makefile to copy autoexec.bin to cf card. 01 June 2012, 15:42:04 UTC
ddc77d1 Big thanks to Alex for help on this. Resized the AllocateMemory heap to be 512kb smaller. This leaves a gap at the end of the area in memory where the heap used to occupy: 512kb of space starting at 0x980000. This is where our code is linked to now, as this is a safe spot that will not be touched by Canon. Also, in entry.s, we copy 512kb from 0x800000 (spot where bootloader copies the autoexec) to 0x980000 (our new safe spot). This should take care of code relocation, as far as I know we are in a safe spot in memory now. 16 May 2012, 16:02:31 UTC
39be7ab -Fix stubs for AllocateMemory and FreeMemory. -Some test code in gui.c for testing max allocatable size of memory. 16 May 2012, 14:42:13 UTC
864b749 -Moved some old routines for LED blinking into a new file 'legacy.c'. -Mapped BGMT button codes as they are perceived by gui_main_task. Codes are in gui.h -Early framework for button handler is in gui.c now, direct print button turns the red LED on/off and the zoom in button turns the blue LED on/off. 11 May 2012, 19:16:46 UTC
61b46a9 Fix color palette to print correctly. Alex found that 5dc bmp buffer is only 4-bit, so we only have 16 colors to print not 256. 03 May 2012, 00:22:16 UTC
c343d71 Cleaning up code more. 01 May 2012, 20:38:59 UTC
339b4eb Cleaned up organization of files - moved GuiMainTask to gui.c 01 May 2012, 05:49:31 UTC
84c77d7 Overriding GuiMainTask works. Will organize file structure later and move tasks into their respective files. From now on we kill canon's GuiMainTask and create it again with our task handler instead of Canon's. 01 May 2012, 05:14:39 UTC
d3fb081 Reverting back to ML font files, they work better and are easier to read. bmp_hexdump() seems to be working now too. Length should be inputted as 16*[# of lines to display]. 01 May 2012, 00:14:29 UTC
3c54275 Better font for FONT_SMALL, it is smaller so it fits on screen better. Also fixed bmp_hexdump() to show 16 bytes on each line instead of 32. This way it fits on the 5dc screen and is not spilling over like it was before. 30 April 2012, 23:05:12 UTC
16668cc Beginning to explore task hijacking. Also added a fonts folder which has a small makefile to run the Magic Lantern font generation scripts. 30 April 2012, 21:23:20 UTC
8bf07e1 Fix value for COLOR_WHITE to be real white now. Only known color values at this point are White and Black. 28 April 2012, 19:03:04 UTC
68250fd Initial merge of BMP module from Magic Lantern - can print strings on the lcd screen now!! 28 April 2012, 13:18:26 UTC
970edc4 Located BMP cram address. Initial testing for writing to the buffer is a success. Next step is to port bmp.c from Magic Lantern so that we can print text on screen! 27 April 2012, 20:46:05 UTC
25cbb00 Mapped bootflag functions in the bootloader using the 400d's bootloader. With these I was able to set the bootflag and boot an autoexec.bin file. I wrote an installer FIR to toggle the bootflag every time you run it. It works!! 25 April 2012, 00:11:23 UTC
d3d1035 Found blue LED address. Can't boot camera yet but can use LEDs to flash the contents of memory addresses in binary. Many new stubs found thanks to chuchin. Also discovered that it is not necessary to include the flasher to run code, so I have removed it. 21 April 2012, 00:34:25 UTC
d1753df Boot process is re-written with an inserted CreateTask call. Doesn't work though, not sure why code won't work on the 5dc. Firmware won't boot, camera just hangs. Can't take pictures or bring up the menu. Can change settings like ISO though, so maybe it's half-booted or something. Not sure. This is exactly how I ran code on the 1000d which runs VxWorks as well, but I never had any issues with that. Out of ideas for now, maybe will re-visit some day.. 10 March 2012, 19:04:36 UTC
b086ab4 Pushing LED blinker code from SX100 (http://chdk.setepontos.com/index.php?topic=17.0). Doesn't work yet, won't compile. 07 March 2012, 21:08:04 UTC
5426308 Fix header width in files. Starting the long process of re-writing the boot process from ASM code into c. 05 March 2012, 03:31:11 UTC
afe6109 Included 5d v1.1.1 canon update fir. 03 March 2012, 21:52:04 UTC
6c90676 First push of my code to a repository. Right now it only blinks the LED, doesn't boot the firmware yet. 03 March 2012, 21:50:42 UTC
back to top