Skip to content
Open

Notes #342

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
e72273e
added HEX display mode to ROM and pins
UkrainianBanderasCat Apr 16, 2025
10bcad0
Added notes instance
UkrainianBanderasCat Apr 17, 2025
b1ea141
Merge branch 'notes' of https://github.com/Lime-Game-Modding/Digital-…
UkrainianBanderasCat Apr 17, 2025
1762890
Removed HEX display
UkrainianBanderasCat Apr 17, 2025
65866ee
Added note text poppup
UkrainianBanderasCat Apr 17, 2025
3accc6c
Added textArea
UkrainianBanderasCat Apr 18, 2025
1e1c309
Added different colors to notes
UkrainianBanderasCat Apr 18, 2025
cd99da9
Merge branch 'main' into notes
firecerne Apr 18, 2025
2ce22e3
Added note resize
UkrainianBanderasCat Apr 18, 2025
7ea105f
Merge branch 'notes' of https://github.com/Lime-Game-Modding/Digital-…
UkrainianBanderasCat Apr 18, 2025
23541ec
Small fixes
UkrainianBanderasCat Apr 18, 2025
eea6667
Added note saving
UkrainianBanderasCat Apr 18, 2025
474f6c6
Fixed note delete function
UkrainianBanderasCat Apr 18, 2025
ebcb887
Some improvements
UkrainianBanderasCat Apr 18, 2025
0613849
Some fixes
UkrainianBanderasCat Apr 18, 2025
e91281a
Note color is random on creation
UkrainianBanderasCat Apr 18, 2025
1fef3f1
Added shortcut
UkrainianBanderasCat Apr 18, 2025
0fb4896
Removed temp debugging
UkrainianBanderasCat Apr 18, 2025
90394c4
Fixed bug with textarea
UkrainianBanderasCat Apr 18, 2025
328bb8a
Smol fix
UkrainianBanderasCat Apr 18, 2025
f2b0a62
big textarea improvements
UkrainianBanderasCat Apr 19, 2025
f30ef0a
selection not loosing focus bug fix
UkrainianBanderasCat Apr 20, 2025
370cbab
fixed really anoying bug with selecting
UkrainianBanderasCat Apr 21, 2025
f0de6a7
fixed newline bug
UkrainianBanderasCat Apr 21, 2025
3a008dc
Added limitation
UkrainianBanderasCat Apr 22, 2025
8bf0f51
Merge branch 'main' into notes
UkrainianBanderasCat Apr 22, 2025
627ca20
Delete TestData directory
UkrainianBanderasCat Apr 22, 2025
b0c7d45
Revert "Delete TestData directory"
UkrainianBanderasCat Apr 22, 2025
94d2b2d
Revert "Merge branch 'main' into notes"
UkrainianBanderasCat Apr 22, 2025
897278b
removed debug
UkrainianBanderasCat Apr 22, 2025
24a44dc
Delete TestData/Deleted Projects/MainTest/Chips directory
UkrainianBanderasCat Apr 23, 2025
6bc5237
Reapply "Merge branch 'main' into notes"
UkrainianBanderasCat Apr 23, 2025
1ebbd92
Fixed
UkrainianBanderasCat Apr 23, 2025
7d48e86
Fixed compile errors
logic-mindful Apr 24, 2025
0fd44b6
Update UI.cs
UkrainianBanderasCat Apr 24, 2025
0ee95cc
Fixed not clearing text area
UkrainianBanderasCat Apr 24, 2025
5e88a7a
Merge branch 'main' into notes
UkrainianBanderasCat Apr 30, 2025
101ffd4
Fixed problem with opening textarea
UkrainianBanderasCat Apr 30, 2025
a8fe744
Merge branch 'notes' of https://github.com/Lime-Game-Modding/Digital-…
UkrainianBanderasCat Apr 30, 2025
733ce32
Fixed undo system with notes
UkrainianBanderasCat May 1, 2025
a9d4c55
Merge branch 'SebLague:main' into notes
UkrainianBanderasCat May 4, 2025
b1348c6
Fixed some problems
UkrainianBanderasCat May 4, 2025
cacfb64
EEPROM 256x16
firecerne May 19, 2025
102e3bb
Updated README
logic-mindful May 19, 2025
a088624
Fixed a grammar mistake
logic-mindful May 19, 2025
f349512
Made EEPROM rising-edge
firecerne May 20, 2025
554ec74
Merge pull request #1 from logic-mindful/organizational-stuff
logic-mindful May 20, 2025
9547fba
Merge pull request #2 from firecerne/EEPROM
firecerne May 20, 2025
c7def29
Addition of Squircle to SebVis
firecerne May 21, 2025
54a5b0c
TypeHelper.cs for Vector2 type conversion.
firecerne May 22, 2025
a6bafd5
Clickable Displays
firecerne May 22, 2025
a67cc02
Merge branch 'clickabledisplays' into buttons
firecerne May 22, 2025
66d2552
Buttons and interaction finish
firecerne May 22, 2025
71bbdd5
Remove unnecessary call
firecerne May 22, 2025
1a8ac11
Adds Button to I/O collection
firecerne May 22, 2025
196679d
Merge pull request #3 from firecerne/buttons
logic-mindful May 22, 2025
b4d5db8
Dispwitch (saves defaults)
firecerne May 22, 2025
5a581e7
Change appearance of the dipswitch.
firecerne May 22, 2025
23bb9ee
Merge pull request #4 from firecerne/dipswitches
logic-mindful May 22, 2025
0938f51
Ready Build
firecerne May 22, 2025
76ed423
ROM fix
firecerne May 22, 2025
78e4b2b
Merge pull request #5 from firecerne/dipswitches
logic-mindful May 22, 2025
275adfc
Fix Dipswitch
firecerne May 22, 2025
aa32a2d
Merge pull request #6 from firecerne/dipswitches
firecerne May 23, 2025
f301968
Add RTC
BeboKhouja May 23, 2025
385693d
Initial commit for SPS chip
BeboKhouja May 24, 2025
556a0f8
Fix SPS count
BeboKhouja May 24, 2025
75b8277
Ram builtin chip + secret "All Black Builtin"
firecerne May 24, 2025
be3d9e1
Constant Chip
firecerne May 25, 2025
89e6d07
Merge pull request #7 from firecerne/ram
firecerne May 25, 2025
741547c
Merge branch 'main' into constant
firecerne May 25, 2025
dbecdc9
Merge pull request #8 from firecerne/constant
logic-mindful May 25, 2025
de60d46
Initial Commit:
Dom-c-d May 27, 2025
28988da
Min Chip size is nolonger readonly. Now have a function that will Rec…
Dom-c-d May 28, 2025
00efe42
Rewrote customLayout to to fix issue from last commit, now clamps pin…
Dom-c-d May 28, 2025
0e3248b
Rewrote customLayout to to fix issue from last commit, now clamps pin…
Dom-c-d May 28, 2025
f636942
Fixed gitIgnore
Dom-c-d May 29, 2025
548af67
Pulled latest Community edit and resolved conflicts in project descri…
Dom-c-d May 29, 2025
3ed84a1
Customisation menu now loads existing custom layouts if editing a pre…
Dom-c-d May 29, 2025
c05ae1b
Missed a typo which was causing some issues. Now working (I hope)
Dom-c-d May 29, 2025
27b14a9
Support for pins of any size
firecerne May 30, 2025
26187f1
Loading fix
firecerne May 30, 2025
fa13055
Merge branch 'main' into feat-RTC
firecerne May 30, 2025
60d47fb
Merge pull request #10 from BeboKhouja/feat-RTC
firecerne May 30, 2025
e6b3720
Improved Save Compatibility
firecerne May 30, 2025
a30ba6d
Reorganized for ease of use.
firecerne May 30, 2025
b600a56
Merge branch 'main' into MovingPins
Dom-c-d May 30, 2025
5044fa0
Remove spct
BeboKhouja May 31, 2025
1932ead
Delete Lua leftovers from unpublished branch
BeboKhouja May 31, 2025
75cc289
Update gitignore to ignore vscode dirs
BeboKhouja May 31, 2025
45878e0
Merge branch 'main' into feat-SPSChip
BeboKhouja May 31, 2025
75107a8
Remove vscode dirs
BeboKhouja May 31, 2025
2a3e045
Gitignore projectversion
BeboKhouja May 31, 2025
ab68fb2
Merge branch 'main' into feat-SPSChip
BeboKhouja May 31, 2025
b92cc58
Change projectversion
BeboKhouja May 31, 2025
4fd10b0
Update README.md
logic-mindful May 31, 2025
af6ae27
Merge branch 'main' into organizational-stuff
logic-mindful May 31, 2025
9b8a053
Merge pull request #12 from logic-mindful/organizational-stuff
logic-mindful May 31, 2025
b9c5c63
Update README.md
BeboKhouja Jun 1, 2025
6d943bb
Merge pull request #13 from BeboKhouja/patch-1
logic-mindful Jun 1, 2025
b9ebb58
Merge branch 'main' into feat-SPSChip
logic-mindful Jun 1, 2025
583d591
Merge pull request #11 from BeboKhouja/feat-SPSChip
logic-mindful Jun 1, 2025
7aeb6a3
Detector Gate, corrected ProjectVersion, code formatting
logic-mindful Jun 2, 2025
c371e45
Create codeql.yml
logic-mindful Jun 2, 2025
1dbdb90
Update codeql.yml
logic-mindful Jun 2, 2025
6e3154e
Update codeql.yml
logic-mindful Jun 2, 2025
96344b3
Merge pull request #15 from logic-mindful/advanced-code-scanning
logic-mindful Jun 2, 2025
959b19c
Update Simulator.cs
logic-mindful Jun 3, 2025
8a44878
Merge branch 'main' into detector
logic-mindful Jun 3, 2025
b31f49a
Initial commit for stats
BeboKhouja Jun 3, 2025
cb89588
Add collection stats
BeboKhouja Jun 3, 2025
1869717
Merge pull request #14 from logic-mindful/detector
logic-mindful Jun 3, 2025
9f1d710
Add num of chips in a chip
BeboKhouja Jun 3, 2025
2195367
No max pincount
firecerne Jun 3, 2025
52f3927
Fix close button
BeboKhouja Jun 4, 2025
8bd7de4
Add proj stats
BeboKhouja Jun 4, 2025
2652e14
Pin conflicts
firecerne Jun 4, 2025
49ec810
Debug.Log cleanup
firecerne Jun 4, 2025
ffaa83d
Add total chips used
BeboKhouja Jun 4, 2025
28558ca
Adding bus types to project description
firecerne Jun 4, 2025
915b328
Procedural generation of Splits
firecerne Jun 4, 2025
cec40f0
Make close button drift less
BeboKhouja Jun 5, 2025
c4fe4ef
Make drifting not possible, instead the size can be under or over
BeboKhouja Jun 5, 2025
71c68b6
Merge branch 'main' into feat-Stats
logic-mindful Jun 5, 2025
d76005f
Merge pull request #16 from BeboKhouja/feat-Stats
logic-mindful Jun 5, 2025
937bd40
Update .gitignore
logic-mindful Jun 5, 2025
41bfa95
Merge pull request #18 from logic-mindful/logic-mindful-gitignore
logic-mindful Jun 6, 2025
4f7f326
Phew ! Merge + optimization!
firecerne Jun 7, 2025
7588c5c
BitArrayHelper cleanup
firecerne Jun 7, 2025
80fc1c1
Order fix for compatibility between versions
firecerne Jun 7, 2025
8ad9c26
Default chip collections for default pin/merge/split/bus
firecerne Jun 7, 2025
9483401
Menu to add special Pins/MergeSplit/Bus
firecerne Jun 9, 2025
c30f57e
Add keyboard shortcut
firecerne Jun 9, 2025
781672a
delete some useless test data
firecerne Jun 9, 2025
9719050
Update .gitignore
firecerne Jun 9, 2025
c9ab002
Deleting more useless Testdata
firecerne Jun 10, 2025
8b0adee
Delete s.json
firecerne Jun 10, 2025
e1b182f
Bigger wires and pins use less space
firecerne Jun 15, 2025
88e4086
Merge branch 'main' into variable-wire-sizes
firecerne Jun 15, 2025
a2986a8
Compat fixes I think
firecerne Jun 15, 2025
e7e9828
Removed unnecessary and build breaking imports in SpecialChipMakerMen…
firecerne Jun 15, 2025
3574780
Merge pull request #17 from firecerne/variable-wire-sizes
firecerne Jun 15, 2025
7411e21
Fix SPS flags
BeboKhouja Jun 16, 2025
8a0df44
Fix stats and clock down sps
BeboKhouja Jun 16, 2025
877e0a5
Fix for display of 32bit pins and higher
firecerne Jun 16, 2025
1312f00
Update chips with 16 and 32 bit wires
BeboKhouja Jun 16, 2025
ba18aa6
Merge pull request #21 from firecerne/variable-wire-sizes
logic-mindful Jun 16, 2025
faf6f28
Merge branch 'main' into patch-2
logic-mindful Jun 16, 2025
17e8797
Fixed name of generated Split/Merge
firecerne Jun 17, 2025
e5c9f0a
Merge pull request #22 from firecerne/variable-wire-sizes
logic-mindful Jun 17, 2025
797e038
Merge branch 'main' of https://github.com/logic-mindful/Digital-Logic…
BeboKhouja Jun 18, 2025
00b8500
Do not remove old merge/splits
BeboKhouja Jun 18, 2025
17b7611
Fix proj description
BeboKhouja Jun 18, 2025
8439fe1
Fix modded version
BeboKhouja Jun 18, 2025
e7a2b7e
Merge pull request #20 from BeboKhouja/patch-2
logic-mindful Jun 18, 2025
9aa6ca5
Merge branch 'main' into MovingPins
firecerne Jun 18, 2025
8ff2c8a
Merge pull request #9 from Dom-c-d/MovingPins
firecerne Jun 18, 2025
eff7175
Adaptations for higher bitcount + snap
firecerne Jun 18, 2025
6718745
Merge pull request #23 from firecerne/custom-layout-fixes
logic-mindful Jun 18, 2025
a10556f
Quick bugfix, also removes clutter
firecerne Jun 18, 2025
c9ead6a
Reassign base sizes to ROM and EEPROM
firecerne Jun 18, 2025
0f76fca
Fixing the fix
firecerne Jun 18, 2025
40ff09b
Makes the special chip maker more reassuring
firecerne Jun 18, 2025
4bb616f
Special chip maker saving fix
firecerne Jun 18, 2025
aff4e22
Pressing escape closes the special chip maker menu
firecerne Jun 18, 2025
dcdc258
Rom Fix
firecerne Jun 18, 2025
a6a5b4d
M/S maker fixed (was a typo)
firecerne Jun 19, 2025
059f422
Removes unused code + fixes i/o alignment
firecerne Jun 19, 2025
b9cf2b7
Fix RAM performance
firecerne Jun 20, 2025
a06cf6a
Merge pull request #24 from firecerne/main
firecerne Jun 20, 2025
b741e36
Merge branch 'notes' into notes
UkrainianBanderasCat Jul 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
Binary file added .DS_Store
Binary file not shown.
96 changes: 96 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '00 12 * * *'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

strategy:
fail-fast: false
matrix:
include:
- language: csharp
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
# Visual Studio cache directory
.vs/

# Visual Studio Code directory
.vscode/

# Gradle cache directory
.gradle/

Expand Down Expand Up @@ -71,3 +74,4 @@ crashlytics-build.properties
/[Aa]ssets/[Ss]treamingAssets/aa/*
/.idea
/.vsconfig
/TestData/*
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"visualstudiotoolsforunity.vstuc"
]
}
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Unity",
"type": "vstuc",
"request": "attach"
}
]
}
70 changes: 70 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.vs": true,
"**/.gitmodules": true,
"**/.vsconfig": true,
"**/*.booproj": true,
"**/*.pidb": true,
"**/*.suo": true,
"**/*.user": true,
"**/*.userprefs": true,
"**/*.unityproj": true,
"**/*.dll": true,
"**/*.exe": true,
"**/*.pdf": true,
"**/*.mid": true,
"**/*.midi": true,
"**/*.wav": true,
"**/*.gif": true,
"**/*.ico": true,
"**/*.jpg": true,
"**/*.jpeg": true,
"**/*.png": true,
"**/*.psd": true,
"**/*.tga": true,
"**/*.tif": true,
"**/*.tiff": true,
"**/*.3ds": true,
"**/*.3DS": true,
"**/*.fbx": true,
"**/*.FBX": true,
"**/*.lxo": true,
"**/*.LXO": true,
"**/*.ma": true,
"**/*.MA": true,
"**/*.obj": true,
"**/*.OBJ": true,
"**/*.asset": true,
"**/*.cubemap": true,
"**/*.flare": true,
"**/*.mat": true,
"**/*.meta": true,
"**/*.prefab": true,
"**/*.unity": true,
"build/": true,
"Build/": true,
"Library/": true,
"library/": true,
"obj/": true,
"Obj/": true,
"Logs/": true,
"logs/": true,
"ProjectSettings/": true,
"UserSettings/": true,
"temp/": true,
"Temp/": true
},
"files.associations": {
"*.asset": "yaml",
"*.meta": "yaml",
"*.prefab": "yaml",
"*.unity": "yaml",
},
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.sln": "*.csproj",
},
"dotnet.defaultSolution": "Digital-Logic-Sim.sln"
}
2 changes: 1 addition & 1 deletion Assets/Build/DLS.unity
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ MonoBehaviour:
openInMainMenu: 0
testProjectName: MainTest
openA: 1
chipToOpenA: BuzzTest
chipToOpenA: SPSTest
chipToOpenB: TEST MergeSplit
testVecA: {x: 100, y: 0.5333334}
testVecB: {x: 1.71, y: 0.0025}
Expand Down
36 changes: 36 additions & 0 deletions Assets/Scripts/Description/CustomStopwatch.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
using Newtonsoft.Json;

// Originally on DLS.SaveSystem, now on DLS.Description because of assembly definitions.
namespace DLS.Description {
public class CustomStopwatch {
[JsonIgnore]
public Stopwatch Stopwatch;
public TimeSpan StartFrom;
[JsonIgnore]
public TimeSpan Elapsed {get => StartFrom.Add(Stopwatch.Elapsed);}
[JsonConstructor]
public CustomStopwatch(TimeSpan StartFrom) {
Stopwatch = Stopwatch.StartNew();
this.StartFrom = StartFrom;
}
[OnSerializing]
public void Save(StreamingContext unused)
{
StartFrom = Elapsed;
Stopwatch = Stopwatch.StartNew();
}
public void Save()
{
StartFrom = Elapsed;
Stopwatch = Stopwatch.StartNew();
}
public CustomStopwatch() {
Stopwatch = Stopwatch.StartNew();
StartFrom = new();
}

}
}
2 changes: 2 additions & 0 deletions Assets/Scripts/Description/CustomStopwatch.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading