Skip to content

build_player_and_run

mithrendal edited this page May 29, 2021 · 8 revisions

how to build a standalone version of your c64 prg and run it in the browser using the player

in the previous chapter you learned how to compile and build the emulator files yourself from the scratch

you can also skip the build procedure and just clone or download a zip-file of the already prebuilt and compiled files at https://github.com/vc64web/vc64web.github.io

extract the zip file of the download (in case you skipped the last chapter) or use the content of the publish folder from the previous chapter.

look out for the run.html file.

It contains a small block of HTML-code which launches a C64-program, with various typical parameters ...

unmodified it looks like this https://vc64web.github.io/run.html

You can edit it as you like ... especially set different parameters as described here in the wiki.

You can integrate the content of this file in your own existing html file or you can use it as a template and add your content to this file.

if you are done with your editing then put all the files on your web server and browse run.html

Attention: if you downloaded the precompiled files then make sure to do some cleanup ... delete the complete doc folder ... as it contains doc files for vc64web.

Clone this wiki locally