Skip to content

vm1 assemble/execution environment in web assembly with Blazor

Notifications You must be signed in to change notification settings

sokoide/blazorvm1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blazor VM1

  • The project is to compile and run a vm1-assembler and vm1-console (vm) @ https://github.com/sokoide/vm1 in a browser in web assembly usinb Blazor WASM.

How to build

# only once
dotnet add package MatBlazor

dotnet build

# to make a release build
dotnet build -c release

How to run

# debug run
dotnet run
# and visit http://localhost:5000 to see it

# to detect file changes and restart automatically
dotnet watch run

# to run a release build
dotnet run -c release

How to debug

  1. Run the app dotnet run -c debug
  2. Open Chrome /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 http://localhost:5000
  3. In Chrome, focus on the app content and ```Shift-Cmd-D`` to open DevToos
  4. Split the tab and show the content and DevTools side by side
  5. Navigate to file://, open your target source and set a breakpoint
  6. Operate in Chrome until it hits the breakpoint

How to publish

  • To publish in a publish directory
dotnet publish -o publish -c release

About

vm1 assemble/execution environment in web assembly with Blazor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages