This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; https://www.folklore.org/html/BootBeep.html | |
; Boot beep routine | |
; | |
; Called with RTS6 A3 must be set up w/ memory offset (overlay) | |
; D3 contains the duration: 40 is boot beep | |
; make an attractive beep to tell the world that the CPU works. Use | |
; Charlie Kellner's filter algorithm. First fill the waveForm buffer | |
; with the initial waveForm. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws IOException { | |
File rootFolder = new File("c:/tmp/blah/"); | |
File[] files = rootFolder.listFiles(); | |
for (File file : files) { | |
String name = file.getName().toLowerCase(); | |
if (name.startsWith("patch_")) { | |
File coreFolder = new File(file.getPath() + "/core"); | |
if (coreFolder.isDirectory()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;***********************************************************************************; | |
;***********************************************************************************; | |
; | |
; The almost completely commented VIC 20 ROM disassembly. V1.01 Lee Davison 2005-2012. | |
; With enhancements by Simon Rowe <[email protected]>. | |
; This is a bit correct assembly listing for the VIC 20 BASIC and KERNAL ROMs as one 16K | |
; ROM. You should be able to assemble the VIC ROMs from this with most 6502 assemblers, | |
; as no macros or 'special' features were used. This has been tested using Michal | |
; Kowalski's 6502 Simulator assemble function. See http://exifpro.com/utils.html for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger ([email protected]) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company; | |
import java.util.HashSet; | |
import java.util.Set; | |
public class Main { | |
public static class Test { | |
private String blah; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var times = []; | |
for(var hour = 0; hour < 24; hour++) { | |
for(var mins = 0; mins < 60; mins = mins + 15) { | |
var m = "0" + mins; | |
if (hour < 12) | |
times.push( (hour === 0 ? 12 : hour) + ":" + (m.substr(1, 2) === "0" ? "00" : m.substr(1, 2)) + " AM"); | |
else | |
times.push( ((hour - 12) === 0 ? 12 : hour - 12) + ":" + (m.substr(1, 2) === "0" ? "00" : m.substr(1, 2)) + " PM"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem Create folder that is to the minute in YYYY_MM_DD_HHMM format | |
for /f "delims=" %%a in ('wmic OS Get localdatetime ^| find "."') do set dt=%%a | |
set now=%dt:~0,4%_%dt:~4,2%_%dt:~6,2%_%dt:~8,2%%dt:~10,2% | |
mkdir %now% | |
chdir %now% | |
rem Pull down repos | |
svn export https://github.com/jacgoudsmit/L-Star.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renderer: function (value) { | |
if (value) { | |
var millis = value; | |
var year = new Date(millis).getFullYear(); | |
var month = new Date(millis).getMonth(); | |
var day = new Date(millis).getUTCDate(); | |
return Ext.util.Format.date(new Date(year, month, day, 0, 0, 0), 'm-d-Y'); | |
} | |
return null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.elm.mb.rest.filters; | |
import java.io.IOException; | |
import javax.servlet.FilterChain; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.apache.commons.logging.Log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EWoz 1.0 | |
by fsafstrom » Mar Wed 14, 2007 12:23 pm | |
http://www.brielcomputers.com/phpBB3/viewtopic.php?f=9&t=197#p888 | |
via http://jefftranter.blogspot.co.uk/2012/05/woz-mon.html | |
The EWoz 1.0 is just the good old Woz mon with a few improvements and extensions so to say. | |
It's using ACIA @ 19200 Baud. | |
It prints a small welcome message when started. | |
All key strokes are converted to uppercase. |