Magic Lantern Forum

Developing Magic Lantern => General Development Discussion => Topic started by: a1ex on April 01, 2015, 03:01:33 PM

Title: 8086 emulator - FreeDOS on your camera (tiny8086.mo)
Post by: a1ex on April 01, 2015, 03:01:33 PM
This one is real :P
(and the Linux port is real as well)

I just discovered the 8086tiny emulator (http://www.megalith.co.uk/8086tiny/) - plain C source code, minimal dependencies, so I managed to compile it as a ML module, and now I'm running FreeDOS on the camera :)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Ftiny8086%2Ftiny8086.png&hash=eb64ce6e221f9128e6e401a4e7f690b5) (https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Ftiny8086%2Ftiny8086-dir.png&hash=d98fa28f7fe03786641401f1e1aac9a8)

Download:
- tiny8086.mo (http://a1ex.magiclantern.fm/bleeding-edge/tiny8086/tiny8086.mo) (to be copied on the card, under ML/MODULES)
- bios (http://a1ex.magiclantern.fm/bleeding-edge/tiny8086/bios) (to be copied on card root)
- fd.img (http://a1ex.magiclantern.fm/bleeding-edge/tiny8086/fd.img) (to be copied on card root)
- IME modules (http://www.magiclantern.fm/forum/index.php?topic=6899.0) from g3gg0, to be able to type commands at the DOS prompt

Source code: https://bitbucket.org/hudson/magic-lantern/src/tiny8086/modules/tiny8086/

Usage:
- FreeDOS will start on top of DryOS, at camera startup
- press SET to start typing commands in the IME editor
- the only commands I've tested were "dir" and "bogomi16", on 60D.
Title: Re: 8086 emulator - FreeDOS on your camera
Post by: thearczoro on April 01, 2015, 04:05:17 PM
It's good for general development. But, I will take a risk with Linux implementations.  :)
Title: Re: 8086 emulator - FreeDOS on your camera
Post by: Greg on April 01, 2015, 04:10:04 PM
- fd.img (http://a1ex.magiclantern.fm/bleeding-edge/tiny8086/bios) (to be copied on card root)
Correct link :
http://a1ex.magiclantern.fm/bleeding-edge/tiny8086/fd.img
Title: Re: 8086 emulator - FreeDOS on your camera
Post by: ItsMeLenny on April 01, 2015, 04:18:52 PM
LOL!

I wonder if Apogee games will run.

Will this make it into the nightlies?
Title: Re: 8086 emulator - FreeDOS on your camera
Post by: a1ex on April 01, 2015, 04:23:39 PM
The disk images are fairly large, and the module isn't likely to be very useful (just fun). So I'd keep it as a separate download.

You can run it on top of the nightly builds though.
Title: Re: 8086 emulator - FreeDOS on your camera
Post by: Greg on April 01, 2015, 04:46:45 PM
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs8.postimg.org%2Ff41jhrmdh%2FVRAM0.png&hash=d774604165e0c1f6a16bf21b368c0c9c)
 :P
Title: Re: 8086 emulator - FreeDOS on your camera (tiny8086.mo)
Post by: g3gg0 on April 01, 2015, 09:11:19 PM
epic timing!
Title: Re: 8086 emulator - FreeDOS on your camera (tiny8086.mo)
Post by: chris_overseas on April 01, 2015, 11:54:37 PM
This seems to work pretty well! If anyone is mad enough to want to play it on their camera, here's a disk image that boots into the original Colossal Cave (http://en.wikipedia.org/wiki/Colossal_Cave_Adventure) text adventure:

https://www.dropbox.com/s/a5z1cex6ps7jei5/fd.img?dl=0 (https://www.dropbox.com/s/a5z1cex6ps7jei5/fd.img?dl=0)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fwww.redyeti.net%2Fextra%2FVRAM0.png&hash=ee031ab92548719a059e37bd4d9ecc28)
Title: Re: 8086 emulator - FreeDOS on your camera (tiny8086.mo)
Post by: ToniX on May 12, 2015, 03:29:20 AM
I am just curious . Apart to play games on the camera display, what benefits would have running Freedos or linux on camera?
Maybe more programmability for certain automated tasks, or more deeper control of the camera core? Don't know...

Recently I discovered Kolibri ,that's a very lightwight OS just 1.4 Mb , entirely compiled in c++, complete with GUId and it is very fast.
 It requires only a few megabyte disk space and 8MB of RAM to run. Kolibri features a rich set of applications that include word processor, image viewer, graphical editor, web browser and well over 30 exciting games. Full FAT12/16/32 support is implemented, as well as read-only support for NTFS, ISO9660 and Ext2/3/4. Drivers are written for popular sound, network and graphics cards.

http://kolibrios.org/en/index

Could be useful to know?

Title: Re: 8086 emulator - FreeDOS on your camera (tiny8086.mo)
Post by: dpjpandone on August 23, 2015, 08:29:39 AM
I really want to play with this, but I have to change the button to enter command so it can work on EOSM. Is the source online somewhere?
Title: Re: 8086 emulator - FreeDOS on your camera (tiny8086.mo)
Post by: NormandFi on December 05, 2017, 01:19:08 PM
I really want to play with this, but I have to change the button to enter command so it can work on EOSM. Is the source online somewhere?

Did you find the source? I'd like it too if possible!