Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
849e88a
Bump the version of jquery to 3.7.1 to eliminate object failures in F…
jojowil Dec 9, 2024
c828d69
Update the README.md to reflect the purpose behind the fork and maint…
jojowil Dec 9, 2024
182025d
make tab stops every 4 characters. fix stop() to only stop when actua…
jojowil Dec 10, 2024
51219f8
font size and other CSS fixes.
jojowil Dec 10, 2024
b8e5864
font, again.
jojowil Dec 10, 2024
8b49826
add support for DSB and TXT.
jojowil Dec 10, 2024
e653983
Remove codebedder and prism.
jojowil Dec 12, 2024
d326271
add code-input. using min for js and unmin for css. Working out some …
jojowil Dec 12, 2024
b0cef11
HighlighJS components
jojowil Dec 12, 2024
beb1057
code-input indent plugin
jojowil Dec 12, 2024
1bc0e28
completed changes removing codebedder and integrating code-input.
jojowil Dec 12, 2024
840f2f5
update licensing files
jojowil Dec 12, 2024
b485371
update README files
jojowil Dec 12, 2024
0313b1d
move to code-input tag. add missing language, fix most of the WAVE "m…
jojowil Dec 12, 2024
5d4591e
minor note fixup.
jojowil Dec 12, 2024
1227a62
add id and class value of "code" to the textarea of code-input so the…
jojowil Dec 12, 2024
bd85450
more ADA fixups and naming.
jojowil Dec 12, 2024
3c09009
more ADA fixups, naming and css load order changes.
jojowil Dec 12, 2024
a59b9aa
and more style fixups...
jojowil Dec 12, 2024
fca7d2c
source code pro font and sizing
jojowil Dec 13, 2024
9e6aa42
reformat code in WebStorm. What a nice IDE!
jojowil Jan 5, 2025
569148c
super lame simple additive for absolute addresses (not indexed)
jojowil Feb 1, 2025
f5e1f31
fix test
jojowil Feb 1, 2025
cfcb643
fix test
jojowil Feb 1, 2025
e0a5908
fix test
jojowil Feb 1, 2025
ccd7cf2
fix test
jojowil Feb 1, 2025
a5f24b6
add DSW and DCW
jojowil Feb 1, 2025
038bfe5
bugfix
jojowil Feb 1, 2025
721732e
bugfix
jojowil Feb 1, 2025
c52e826
bugfix
jojowil Feb 1, 2025
5dd3c66
bugfix
jojowil Feb 1, 2025
a71dbb0
bugfix
jojowil Feb 1, 2025
94dd508
fix substr and allow negative values on dcb and dcw.
jojowil Feb 9, 2025
9f53c29
update 6502 language for additional pseudos
jojowil Feb 9, 2025
d3a53a2
add support for dcq, dsq and fix string comparison.
jojowil Feb 9, 2025
867dd1f
Fix invalid form of false.
jojowil Feb 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions LICENSE.prism → LICENSE.code-input
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
The prism.js (https://prismjs.com) code is licensed under the MIT license as follows:
MIT License

MIT LICENSE

Copyright (c) 2012 Lea Verou
Copyright (c) 2021 WebCoder49

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -11,14 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 29 additions & 0 deletions LICENSE.highlightjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2006, Ivan Sagalaev.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# 6502js
A JavaScript 6502 assembler and simulator which runs in a web browser, forked from: https://github.com/skilldrick/6502js
A JavaScript 6502 assembler and simulator which runs in a web browser, forked from: https://github.com/ctyler/6502js (originally from https://github.com/skilldrick/6502js)

Enhancements include a speed control (slider), load/save buttons, an 80x25 character memory-mapped terminal screen, and some basic ROM routines.
The ctyler enhancements include a speed control (slider), load/save buttons, an 80x25 character memory-mapped terminal screen, and some basic ROM routines.

A hosted copy is available at http://6502.cdot.systems - Click the "Notes" button and scroll through the text box at the bottom of the display for basic documentation, including links to some sample code. Some sample code to run within the emulator is available at https://github.com/ctyler/6502js-code
This version also contains syntax highlighting utilizing Code Input (https://github.com/WebCoder49/code-input) and highlight.js (https://highlightjs.org/).

This version contains experimental syntax highlighting utilizing Code Bedder (https://codebedder.com/) and Prism.js (https://prismjs.com/).
The highlighter uses a slightly modified atom-one-dark theme and a homegrown asm6502 language adapted from the arm plugin (I think. I can't remember.)

This fork further enhances the CSS to adjust the look and feel. This fork also makes several modifications to the assembler to add more directives and some simple expressions with working with labels.

A hosted copy is available at http://programmingby.design/trial - Click the "Notes" button and scroll through the popup box for basic documentation, including links to some sample code. Some sample code to run within the emulator is available at https://github.com/ctyler/6502js-code

The 6502js assembler and simulator is distributed under the terms of the GPL version 3; see the LICENSE file.
The code-bedder (https://codebedder.com) code is licensed freely ("This library is free to use however you like.").
The Prism.js library is distributed under the MIT license (see the LICENSE.prism file).
The code-input (https://github.com/WebCoder49/code-input) code is licensed under MIT (see the LICENSE.code-input file).
The highlight.js library is distributed under the BSD 3-Clause license (see the LICENSE.highlightjs file).

Loading