M-Film: film simulation for Canon EOS cameras with Magic Lantern. 72 film stocks (Portra, Velvia, Tri-X, CineStill…), a film-camera interface and an in-camera darkroom that develops your RAWs. 5D Mark III, 6D, 600D, 650D, 700D, EOS M and more.
C analog-photographycamera-firmwarecanoncanon-5d-mark-ivcanon-5dmark2canon-6dcanon-eoscr2darkroomeos-mfilm-emulationfilm-lookfilm-photographyfilm-simulationfujifilm-recipeskodak-portralutmagic-lanternphotographyraw
0.1.3: the READMEs' camera notes, and the fork's patch as the build writes it
Claudefcf164591212
diff --git a/README.md b/README.mdindex b826198..c541003 100644--- a/README.md+++ b/README.md@@ -152,19 +152,19 @@ still wrong. If you have one marked *needs a tester*, you can help: [TESTING.md]|---|---|---|---|---|| Canon EOS M | 2.0.2 | ✅ **Works** | | `M-Film-camera-EOSM.202.zip` || Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | 🔧 Too big for its boot memory: being fixed | | |-| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | ⚠️ Without the in-camera darkroom (develop with Darkrooms) | The full build gives a black screen ([#34](../../issues/34)); a tester's 650D starts without the darkroom. Comes that way in the next update. | `M-Film-camera-650D.104.zip` |-| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | ⚠️ Without the in-camera darkroom (develop with Darkrooms) | The full build gives a black screen ([#19](../../issues/19)). Comes without the darkroom in the next update, as for the 650D. | `M-Film-camera-700D.115.zip` |+| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | ⚠️ Without the in-camera darkroom (develop with Darkrooms) | The full build gives a black screen ([#34](../../issues/34)); a tester's 650D starts without the darkroom. Released that way since 0.1.3: develop on a computer. | `M-Film-camera-650D.104.zip` |+| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | ⚠️ Without the in-camera darkroom (develop with Darkrooms) | The full build gives a black screen ([#19](../../issues/19)). Released without the darkroom since 0.1.3, as for the 650D: waiting for a tester. | `M-Film-camera-700D.115.zip` || Canon EOS 6D | 1.1.6 | ✅ **Works** | Works since 0.1.2 ([#17](../../issues/17), [#22](../../issues/22)). | `M-Film-camera-6D.116.zip` || Canon EOS 70D | 1.1.2 | 🔧 Too big for its boot memory: being fixed | | |-| Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | ⚠️ Tried, known problem | Starts and shoots; the in-camera darkroom can't find the RAWs ([#31](../../issues/31)). Fixed in the next update. | `M-Film-camera-5D3.113.zip` |-| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | ⚠️ Tried, known problem | Starts and shoots; the in-camera darkroom can't find the RAWs ([#16](../../issues/16), [#37](../../issues/37)). Fixed in the next update. | `M-Film-camera-5D3.123.zip` |+| Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | ⚠️ Tried, known problem | Starts and shoots; the in-camera darkroom couldn't find the RAWs ([#31](../../issues/31)): fixed in 0.1.3. | `M-Film-camera-5D3.113.zip` |+| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | ⚠️ Tried, known problem | Starts and shoots; the in-camera darkroom couldn't find the RAWs ([#16](../../issues/16), [#37](../../issues/37)): fixed in 0.1.3. | `M-Film-camera-5D3.123.zip` || Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | 🔧 Too big for its boot memory: being fixed | | || Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | 🔧 Too big for its boot memory: being fixed | | |-| Canon EOS 60D | 1.1.1 | ⚠️ Tried, known problem | Starts, shoots and develops; the prints come out magenta ([#25](../../issues/25)). Fixed in the next update. | `M-Film-camera-60D.111.zip` |+| Canon EOS 60D | 1.1.1 | ⚠️ Tried, known problem | Starts, shoots and develops; the prints came out magenta ([#25](../../issues/25)): fixed in 0.1.3. | `M-Film-camera-60D.111.zip` || Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | 🔧 Too big for its boot memory: being fixed | | || Canon EOS 500D / Rebel T1i / Kiss X3 | 1.1.1 | 🧪 Builds, needs a tester | | `M-Film-camera-500D.111.zip` || Canon EOS 50D | 1.0.9 | 🧪 Builds, needs a tester | | `M-Film-camera-50D.109.zip` |-| Canon EOS 5D Mark II | 2.1.2 | ⚠️ Tried, known problem | Most hang at power on: the build is too big at start-up ([#18](../../issues/18)). The next update has a smaller one (some Magic Lantern features left out, the darkroom kept) and fixes the pink prints. | `M-Film-camera-5D2.212.zip` |+| Canon EOS 5D Mark II | 2.1.2 | ⚠️ Tried, known problem | Most hang at power on: the build is too big at start-up ([#18](../../issues/18)). 0.1.3 has a smaller one (some Magic Lantern features left out, the darkroom kept) and fixes the pink prints: waiting for testers. | `M-Film-camera-5D2.212.zip` |**Not yet:** 7D (Magic Lantern's current source doesn't build it) · 200D, 750D, 77D, 80D, 7D Mark II, 5D Mark IV, 5DS R, 6D Mark II, 850D, M50, R, RP, R5, R6, SX70 HS, SX740 HS (Magic Lantern itself is still experimental on these).<!-- cameras:end -->diff --git a/README.th.md b/README.th.mdindex c722b26..43751e0 100644--- a/README.th.md+++ b/README.th.md@@ -152,19 +152,19 @@ M-Film ทำบน EOS M และใช้ได้จริงบนรุ่|---|---|---|---|---|| Canon EOS M | 2.0.2 | ✅ **ใช้ได้** | | `M-Film-camera-EOSM.202.zip` || Canon EOS 100D / Rebel SL1 / Kiss X7 | 1.0.1 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | | |-| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | ⚠️ ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) | build เต็มจอดำ ([#34](../../issues/34)) ผู้ทดสอบลองแบบไม่มีห้องมืดแล้วเปิดได้ อัปเดตหน้าจะออกแบบนั้น | `M-Film-camera-650D.104.zip` |-| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | ⚠️ ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) | build เต็มจอดำ ([#19](../../issues/19)) อัปเดตหน้าจะออกแบบไม่มีห้องมืด เหมือน 650D | `M-Film-camera-700D.115.zip` |+| Canon EOS 650D / Rebel T4i / Kiss X6i | 1.0.4 | ⚠️ ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) | build เต็มจอดำ ([#34](../../issues/34)) ผู้ทดสอบลองแบบไม่มีห้องมืดแล้วเปิดได้ ตั้งแต่ 0.1.3 ออกแบบนั้น ล้างบนคอม | `M-Film-camera-650D.104.zip` |+| Canon EOS 700D / Rebel T5i / Kiss X7i | 1.1.5 | ⚠️ ไม่มีห้องมืดในกล้อง (ล้างด้วย Darkrooms) | build เต็มจอดำ ([#19](../../issues/19)) ตั้งแต่ 0.1.3 ออกแบบไม่มีห้องมืด เหมือน 650D รอคนลอง | `M-Film-camera-700D.115.zip` || Canon EOS 6D | 1.1.6 | ✅ **ใช้ได้** | ใช้ได้ตั้งแต่ 0.1.2 ([#17](../../issues/17), [#22](../../issues/22)) | `M-Film-camera-6D.116.zip` || Canon EOS 70D | 1.1.2 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | | |-| Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | ⚠️ ลองแล้ว ยังมีปัญหา | เปิดและถ่ายได้ แต่ห้องมืดในกล้องหาไฟล์ RAW ไม่เจอ ([#31](../../issues/31)) แก้แล้วในอัปเดตหน้า | `M-Film-camera-5D3.113.zip` |-| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | ⚠️ ลองแล้ว ยังมีปัญหา | เปิดและถ่ายได้ แต่ห้องมืดในกล้องหาไฟล์ RAW ไม่เจอ ([#16](../../issues/16), [#37](../../issues/37)) แก้แล้วในอัปเดตหน้า | `M-Film-camera-5D3.123.zip` |+| Canon EOS 5D Mark III (firmware 1.1.3) | 1.1.3 | ⚠️ ลองแล้ว ยังมีปัญหา | เปิดและถ่ายได้ ห้องมืดในกล้องหาไฟล์ RAW ไม่เจอ ([#31](../../issues/31)) แก้แล้วใน 0.1.3 | `M-Film-camera-5D3.113.zip` |+| Canon EOS 5D Mark III (firmware 1.2.3) | 1.2.3 | ⚠️ ลองแล้ว ยังมีปัญหา | เปิดและถ่ายได้ ห้องมืดในกล้องหาไฟล์ RAW ไม่เจอ ([#16](../../issues/16), [#37](../../issues/37)) แก้แล้วใน 0.1.3 | `M-Film-camera-5D3.123.zip` || Canon EOS 550D / Rebel T2i / Kiss X4 | 1.0.9 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | | || Canon EOS 600D / Rebel T3i / Kiss X5 | 1.0.2 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | | |-| Canon EOS 60D | 1.1.1 | ⚠️ ลองแล้ว ยังมีปัญหา | เปิด ถ่าย และล้างได้ แต่รูปออกสีม่วงอมชมพู ([#25](../../issues/25)) แก้แล้วในอัปเดตหน้า | `M-Film-camera-60D.111.zip` |+| Canon EOS 60D | 1.1.1 | ⚠️ ลองแล้ว ยังมีปัญหา | เปิด ถ่าย และล้างได้ รูปออกสีม่วงอมชมพู ([#25](../../issues/25)) แก้แล้วใน 0.1.3 | `M-Film-camera-60D.111.zip` || Canon EOS 1100D / Rebel T3 / Kiss X50 | 1.0.5 | 🔧 ใหญ่เกินหน่วยความจำตอนบูต: กำลังแก้ | | || Canon EOS 500D / Rebel T1i / Kiss X3 | 1.1.1 | 🧪 build ได้แล้ว รอคนทดสอบ | | `M-Film-camera-500D.111.zip` || Canon EOS 50D | 1.0.9 | 🧪 build ได้แล้ว รอคนทดสอบ | | `M-Film-camera-50D.109.zip` |-| Canon EOS 5D Mark II | 2.1.2 | ⚠️ ลองแล้ว ยังมีปัญหา | ส่วนใหญ่ค้างตอนเปิด เพราะ build ใหญ่เกินหน่วยความจำตอนบูต ([#18](../../issues/18)) อัปเดตหน้าจะมี build ที่เล็กลง (ตัดบางฟีเจอร์ของ Magic Lantern ออก แต่ห้องมืดยังอยู่) และแก้รูปสีชมพู | `M-Film-camera-5D2.212.zip` |+| Canon EOS 5D Mark II | 2.1.2 | ⚠️ ลองแล้ว ยังมีปัญหา | ส่วนใหญ่ค้างตอนเปิด เพราะ build ใหญ่เกินหน่วยความจำตอนบูต ([#18](../../issues/18)) 0.1.3 มี build ที่เล็กลง (ตัดบางฟีเจอร์ของ Magic Lantern ออก แต่ห้องมืดยังอยู่) และแก้รูปสีชมพู รอคนลอง | `M-Film-camera-5D2.212.zip` |**ยังไม่รองรับ:** 7D (source ปัจจุบันของ Magic Lantern build รุ่นนี้ไม่ได้) · 200D, 750D, 77D, 80D, 7D Mark II, 5D Mark IV, 5DS R, 6D Mark II, 850D, M50, R, RP, R5, R6, SX70 HS, SX740 HS (Magic Lantern เองยังเป็นรุ่นทดลองบนกล้องเหล่านี้)<!-- cameras:end -->diff --git a/ml-dev/fork/film-mode.patch b/ml-dev/fork/film-mode.patchindex b2d6e56..582b88b 100644--- a/ml-dev/fork/film-mode.patch+++ b/ml-dev/fork/film-mode.patch@@ -185,16 +185,37 @@ index c70b6b12b..2eb976d7c 100644include ../Makefile.DEFAULT_GOAL := $(BUILD_DIR)/cam_completediff --git a/platform/5D2.212/features.h b/platform/5D2.212/features.h-index 51957a6ab..d6d5139d4 100644+index 51957a6ab..5a40c3f0e 100644--- a/platform/5D2.212/features.h+++ b/platform/5D2.212/features.h-@@ -7,3 +7,6 @@+@@ -7,3 +7,27 @@#define FEATURE_LV_FOCUS_BOX_SNAP_TO_X5_RAW++/* film camera mode (src/filmroll.c) */+#define FEATURE_FILMROLL++++/* film-mode fork: lean, to fit at boot */++#undef FEATURE_ZEBRA++#undef FEATURE_ZEBRA_FAST++#undef FEATURE_FOCUS_PEAK++#undef FEATURE_GHOST_IMAGE++#undef FEATURE_SPOTMETER++#undef FEATURE_FALSE_COLOR++#undef FEATURE_WAVEFORM++#undef FEATURE_RAW_SPOTMETER++#undef FEATURE_RAW_ZEBRAS++#undef FEATURE_HDR_VIDEO++#undef FEATURE_FPS_OVERRIDE++#undef FEATURE_FPS_RAMPING++#undef FEATURE_MOVIE_LOGGING++#undef FEATURE_GRADUAL_EXPOSURE++#undef FEATURE_TRAP_FOCUS++#undef FEATURE_FOLLOW_FOCUS++#undef FEATURE_RACK_FOCUS++#undef FEATURE_AUDIO_METERS++#undef FEATURE_HDR_BRACKETINGdiff --git a/platform/5D2.212/modules.included b/platform/5D2.212/modules.includedindex eddc7617e..6bfdee970 100644--- a/platform/5D2.212/modules.included@@ -576,10 +597,10 @@ index 2201e76c7..01865665a 100755addr_AllocMem_end[1] = MOV_R0_0x4E0000_INSTR;diff --git a/src/filmroll.c b/src/filmroll.cnew file mode 100644-index 000000000..c0415b929+index 000000000..642db0176--- /dev/null+++ b/src/filmroll.c-@@ -0,0 +1,1454 @@+@@ -0,0 +1,1469 @@+/* filmroll: a Canon camera as a film camera (built into this ML fork).+ * Made on the EOS M; 100D, 650D, 700D and others build from the same code.+ *@@ -1667,20 +1688,35 @@ index 000000000..c0415b929+ * does, and wipe what it left. Canon gets the screen back as soon as ours+ * goes (a Canon menu, playback, the display off). The film OS's own pages+ * take the buffer themselves (film_ui_open). */-+ static int canon_held = 0;-+ if (visible && !canon_held)-+ {-+ canon_gui_disable_front_buffer();-+ clrscr();-+ canon_held = 1;-+ hud_dirty = 1;-+ dbg("hud: Canon's screen held");++ /* Canon's screen comes back only once ours has been gone a moment: the++ * display isn't idle for a blink while a frame is taken, and giving the++ * screen back then (and taking it again) flashed Canon's screen, and its++ * picture of the frame, over ours (#17). The film OS's pages take the++ * screen at once, and so does anything that isn't a blink. */++ static int canon_held = 0, gone_since = 0;++ if (visible)++ {++ gone_since = 0;++ if (!canon_held)++ {++ canon_gui_disable_front_buffer();++ clrscr();++ canon_held = 1;++ hud_dirty = 1;++ dbg("hud: Canon's screen held");++ }+ }-+ else if (!visible && canon_held)++ else if (canon_held)+ {-+ canon_held = 0;-+ if (!ui_running) canon_gui_enable_front_buffer(1);-+ dbg("hud: Canon's screen given back%s", ui_running ? " (to the film OS)" : "");++ int now = get_ms_clock();++ if (!gone_since) gone_since = now ? now : 1;++ if (ui_running || now - gone_since > 700)++ {++ canon_held = 0;++ gone_since = 0;++ if (!ui_running) canon_gui_enable_front_buffer(1);++ dbg("hud: Canon's screen given back%s", ui_running ? " (to the film OS)" : "");++ }+ }+#endif+@@ -3642,7 +3678,7 @@ index 000000000..6d753e3da+}diff --git a/src/fos_dev.c b/src/fos_dev.cnew file mode 100644-index 000000000..3d034217c+index 000000000..fd6efba0a--- /dev/null+++ b/src/fos_dev.c@@ -0,0 +1,2121 @@@@ -5769,10 +5805,10 @@ index 000000000..3d034217c+}diff --git a/src/fos_dev.h b/src/fos_dev.hnew file mode 100644-index 000000000..9403bf967+index 000000000..e5241836d--- /dev/null+++ b/src/fos_dev.h-@@ -0,0 +1,165 @@+@@ -0,0 +1,168 @@+/* fos_dev: developing film in the camera.+ *+ * A frame's CR2 RAW becomes a print for the screen: 720 x 480 in its own@@ -5817,8 +5853,11 @@ index 000000000..9403bf967++/* ---------------------------------------------------------------- prints */+++/* the camera's screen; the web darkroom builds bigger prints with -D */++#ifndef FOS_PRINT_W+#define FOS_PRINT_W 720+#define FOS_PRINT_H 480++#endif+#define FOS_PRINT_COLOURS 240 /* palette indices 1..240 */+#define FOS_FIXED_BASE 241 /* 241..254: the same in every palette */+#define FOS_FIXED_N 14 /* 241..254 */@@ -12536,7 +12575,7 @@ index 000000000..22d1f64ea+#endifdiff --git a/src/fos_hud.c b/src/fos_hud.cnew file mode 100644-index 000000000..315a92e2c+index 000000000..3d897a8e9--- /dev/null+++ b/src/fos_hud.c@@ -0,0 +1,371 @@@@ -12879,7 +12918,7 @@ index 000000000..315a92e2c+ text_gray(&fos_font_xs, mx1 + 16, my + 5, "OVER", 30, 24);+ if (h->lit && h->meter)+ {-+ int thirds = h->fstop - h->want; /* + : more light than the aperture set wants */++ int thirds = h->want - h->fstop; /* + : brighter than the aperture set wants (over) */+ int out = thirds > 6 || thirds < -6;+ thirds = thirds > 6 ? 6 : thirds < -6 ? -6 : thirds;+ if (!out || h->blink)@@ -13341,7 +13380,7 @@ index 000000000..ae60ddb83+#endifdiff --git a/src/fos_lab.c b/src/fos_lab.cnew file mode 100644-index 000000000..bee53acdc+index 000000000..7e07e044b--- /dev/null+++ b/src/fos_lab.c@@ -0,0 +1,391 @@