Giter Site home page Giter Site logo

joystickandcursorkeys / basic64-js Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 3.0 1.9 MB

Commodore 64 Basic Emulator

License: GNU General Public License v3.0

HTML 2.35% JavaScript 97.15% BASIC 0.50%
emulator browser javascript basic commodore commodore-64 commodore64 vic petscii

basic64-js's People

Contributors

cursorkeys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

basic64-js's Issues

Issues with several for loops

FOR on 60, does not increase T

4 goto 60 basiccommands.js:61:17
5 print "�" basiccommands.js:61:17
6 for t=0to255:poke1024+t,t:next basiccommands.js:61:17
10 poke 53272,12 basiccommands.js:61:17
15 poke 1,0 basiccommands.js:61:17
20 for t=0 to 2047 basiccommands.js:61:17
30 poke 12288+t,peek(53248+t) basiccommands.js:61:17
40 next basiccommands.js:61:17
50 poke 1,255 basiccommands.js:61:17
60 for t=0to7: read a: poke 12288+t,a basiccommands.js:61:17
61 print t basiccommands.js:61:17
62 next basiccommands.js:61:17
100 data 170,85,170,85,170,85,170,85

The issue dissapears if line 60 is split up into the "for" part and the "after the for" part.
like
60 for t=0to7
61 read a: poke 12288+t,a
(and move 61 to 62 and 62 to 63)

Power menu

Import / Export
State save
Disk management (multiple virtual disks?)
Save screen shot
Make shareable link

Complete list of keywords for tokenizer

Is needed for parsing commands like
poke1
printa
readb

-make commands class "queryable".
-only for statements, functions are simpler, they end with a "("

Implement LIST params

  • list 10
    Only line 10

  • list -100
    All lines up to 100 (inclusive)

  • list 10-20
    All lines from 10 to 20 (inclusive)

  • list 20-
    All lines from 20 and up (inclusive)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.