ejes consulting

Techincal Consulting Design and Automation

Archive for March 2010

Amazing One Line Script

leave a comment »

I was stumbling around on the internet this morning and I found this awesome site… (http://www.centerkey.com/tree/)

This guy posted an amazing one line script that will graphically show your directory tree with a simple one line command:

ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'

and that’s all!!! It works great!

Written by ejes

March 17, 2010 at 11:42 am

MAME Cabinet Woes!

leave a comment »

Thanks to all of you who emailed, commented, linked back, or otherwise awknowledged my last post :)

Since my last post, I’ve been looking around at MAME frontentds.  There are plenty!

During this search I stumbled upon a few very interesting MAME resources, when I came upon a revelation.

MAME is written for windows, and ported to different OSes, including Linux.  Maybe I should examine using something other than Debian for MAME.

I soon discovered there’s a DOS port of MAME, which would suffice.  So, as a side track, I’ve been working on building a MAME cabinet with FreeDOS (www.freedos.org) and I suspect using the HX DOS Extender (http://www.japheth.de/HX.html) one could run the “Official” Windows 32 bit MAME app; in DOS.

But why use dos?

Well, for one, boot time – Nothing boots faster.  This (http://www.edn.com/article/CA6720353.html) has some promise but until it gets merged into Linux proper, DOS boots way faster.

DOS is VERY Limited.  This is a good thing because my console is going to be single function, that means I don’t want anyone to load up a browser, or download some exploit, and even obtaining full control wouldn’t grant them anything significat.

DOS is SMALL.  Although storage is cheap, I don’t want to waste storage on files, programs and scripts that are otherwise not required, who would?  Trim operating system also limits the ability to do malicious things with it.

It’s Challanging!  Who else uses DOS?  I mean really? :P

Anyway; for those of you who are interested, please stay tuned and I’m going to post how to do your own DOS MAME (and pictures, don’t forget pictures). 

As usual, interest will dictate if I show how to complete the Debian based setup.  Please email or comment to let me know.  I’ve saved my Debian based setup on it’s original hard disk and I will not distroy it until I have need for a 30Gb hard disk :)

Written by ejes

March 8, 2010 at 1:38 pm

Posted in Uncategorized

Tagged with , , , ,