Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds ICs, column width param #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
27 changes: 14 additions & 13 deletions ben-eater-6502-computer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">

<!--
<!--
(C) Klemens Ullmann-Marx / www.ull.at
License: GPLv3
-->
Expand All @@ -13,7 +13,7 @@
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script type="text/javascript" src="ic-label-creator.js"></script>
<script type="text/javascript" src="ic-label-creator.js"></script>
<script type="text/javascript" src="chips.js"></script>
</head>

Expand All @@ -24,35 +24,36 @@

<p style="font-family: sans-serif; font-size: 10px;">
IC-Label Set "Ben Eater 6502 Breadboard Computer"<br />
<a href="https://github.com/klemens-u/ic-label-creator">https://github.com/klemens-u/ic-label-creator</a>
<a href="https://github.com/klemens-u/ic-label-creator">https://github.com/klemens-u/ic-label-creator</a>
(C) 2020 by Klemens Ullmann-Marx / <a href="https:/www.ull.at">www.ull.at</a>
</p>

<script>
<script>
var globals = {
gimmeColor : true,
pageWidth : 210 - 20, // A4 height minus margin
pageHeight : 279.4 - 40, // ANSI letter height minus margin
pageHeight : 279.4 - 40, // ANSI letter height minus margin
pinDistance : 2.54,
// Starting position for first chip on page
chipPositionX : 0,
chipPositionY : 0,
columnWidth : 45,
svgStrokeWidth : .1,
svgStrokeOffset : .1,
defaultChipLogicFamily : 'LS',
defaultChipSeries : '74',
defaultChipSeries : '74',
};

$(document).ready(function() {

// Set svg container to page size
$('#page').attr({
width: globals.pageWidth + 'mm',
height: globals.pageHeight + 'mm',
});

// Draw chips

// clock module
drawChip('555');
drawChip('555');
Expand All @@ -67,10 +68,10 @@
drawChip('W65C22');
drawChip('28C256');
drawChip('62256');

});
</script>

</script>

</body>
</html>
95 changes: 48 additions & 47 deletions ben-eater-8bit-computer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">

<!--
<!--
(C) Klemens Ullmann-Marx / www.ull.at
License: GPLv3
-->
Expand All @@ -13,7 +13,7 @@
src="https://code.jquery.com/jquery-3.6.0.slim.min.js"
integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI="
crossorigin="anonymous"></script>
<script type="text/javascript" src="ic-label-creator.js"></script>
<script type="text/javascript" src="ic-label-creator.js"></script>
<script type="text/javascript" src="chips.js"></script>
</head>

Expand All @@ -24,108 +24,109 @@

<p style="font-family: sans-serif; font-size: 10px;">
IC-Label Set "Ben Eater 8-Bit Breadboard Computer SAP-1"<br />
<a href="https://github.com/klemens-u/ic-label-creator">https://github.com/klemens-u/ic-label-creator</a>
<a href="https://github.com/klemens-u/ic-label-creator">https://github.com/klemens-u/ic-label-creator</a>
(C) 2020 by Klemens Ullmann-Marx / <a href="https:/www.ull.at">www.ull.at</a>
</p>

<script>
<script>
var globals = {
gimmeColor : true,
pageWidth : 210 - 20, // A4 height minus margin
pageHeight : 279.4 - 40, // ANSI letter height minus margin
pageHeight : 279.4 - 40, // ANSI letter height minus margin
pinDistance : 2.54,
// Starting position for first chip on page
chipPositionX : 0,
chipPositionY : 0,
columnWidth : 45,
svgStrokeWidth : .1,
svgStrokeOffset : .1,
defaultChipLogicFamily : 'LS',
defaultChipSeries : '74',
defaultChipSeries : '74',
};

$(document).ready(function() {

// Set svg container to page size
$('#page').attr({
width: globals.pageWidth + 'mm',
height: globals.pageHeight + 'mm',
});

// Draw chips

drawChip('555');
drawChip('555');
drawChip('555');
drawChip('555');

drawChip('74LS00');
drawChip('74LS00');

drawChip('74LS02');

drawChip('74LS04');
drawChip('74LS04');
drawChip('74LS04');
drawChip('74LS04');
drawChip('74LS04');

drawChip('74LS08');
drawChip('74LS08');
drawChip('74LS08');
drawChip('74LS32');

drawChip('74LS32');

drawChip('74LS86');
drawChip('74LS86');

drawChip('74LS107');

drawChip('74LS138');

drawChip('74LS139');

drawChip('74LS157');
drawChip('74LS157');
drawChip('74LS157');

drawChip('74LS157');
drawChip('74LS157');

drawChip('74LS157');
drawChip('74LS157');

drawChip('74LS161');
drawChip('74LS161');

drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');

drawChip('74LS173');
drawChip('74LS173');

drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');
drawChip('74LS173');

drawChip('74189');
drawChip('74189');

drawChip('74LS245');
drawChip('74LS245');
drawChip('74LS245');
drawChip('74LS245');
drawChip('74LS245');

drawChip('74LS245');
drawChip('74LS245');
drawChip('74LS245');

drawChip('74LS245');
drawChip('74LS245');
drawChip('74LS245');

drawChip('74LS273');

drawChip('74LS283');
drawChip('74LS283');

drawChip('28C16');
drawChip('28C16');
drawChip('28C16');

drawChip('74LS595', 'HC');
drawChip('74LS595', 'HC');

});
</script>

</script>

</body>
</html>
Loading