Skip to content

NSG650/LinuxInExcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux In Excel

Linux running in Excel image

List of special keys

Here is a list of special keys implemented in dllmain.c which can be used by typing them into C2:

  • [ESC]
  • [ENTER]
  • [BACKSPACE]
  • [TAB]
  • [CTRL+C]
  • [CTRL+Z]
  • [CTRL+X]
  • [CTRL+V]
  • [CTRL+A]
  • [CTRL+S]
  • [CTRL+D]
  • [CTRL+F]
  • [CTRL+Q]
  • [CTRL+W]
  • [CTRL+E]
  • [CTRL+R]
  • [CTRL+T]
  • [CTRL+Y]
  • [CTRL+U]
  • [CTRL+H]
  • [CTRL+L]
  • [CTRL+G]
  • [CTRL+P]

How?

It makes use of mini-rv32ima. The emulator is built as a seperate dll which is loaded by the VBA macro. The VBA macro calls the emulator in the dll and gets the output and writes it into the cells in the spreadsheet. The thing is evidently very buggy but I did not want to spend a lot of time on it. This was done mostly for fun. Evidently this was cheating since I did not rewrite the emulator in VBA or Excel formulas but again I wanted to run Linux in Excel and this was one way to do so.

Building and Running

I was using MSVC to build the dll. Use the following command

cl dllmain.c /LD /Fefun.dll

Then in the Excel file change the path to the dll. You can pass in input by writing the text in the C2 cell. (Thank you Endermanch for adding support for this!)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages