win98sm icon indicating copy to clipboard operation
win98sm copied to clipboard

Figure a way to define a program

Open dd86k opened this issue 9 years ago • 2 comments

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

dd86k avatar Nov 20 '16 07:11 dd86k

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 avatar Dec 16 '16 07:12 dd86k

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 );

dd86k avatar Jan 17 '17 04:01 dd86k