dd86k/win98sm

Figure a way to define a program

Opened this issue · 2 comments

dd86k commented

At some point, whenever there will be a virtual filesystem, a program would be defined as an object with prototyping.

dd86k commented

Idea :

  1. AJAX call load e.g. notepad.js
  2. start("notepad.js")
  3. start function of those js files will contain the loading point for programs
    3a. From there people could either call a Form (with Form.*.show()) or Conhost (or multiple)

Will require a lot of research.

dd86k commented

New idea (from my pal Kenan)

Example

load mspaint.js

  1. AJAX load "mspaint.js" into str
  2. var o = eval(str);
  3. o.pid = PID // Generate pid and assign
  4. Programs.add(o);
  5. Programs[PID].init( argc, argv );