Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeremiah Johnson naikrovek

View GitHub Profile
@naikrovek
naikrovek / visascope.cs
Created May 28, 2014
Simple little test app I wrote to test VISA instrument control. This will require changes in order to be useful. BONUS: Dumper class, useful for many things around the house!
View visascope.cs
using Ivi.Visa.Interop;
using System;
using System.IO;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting;
using System.Runtime.Serialization;
namespace ConsoleApplication1 {
View gist:71a314c3499d13695a91
// by Dave @ Bees & Bombs >:)
int[][] result;
float time;
void setup() {
setup_();
result = new int[width*height][3];
}
View gist:3c450d8e87e91dbacb1b
// by Dave @ beesandbombs >:)
int[][] result;
float time;
void setup() {
setup_();
result = new int[width*height][3];
}
View gist:7494c0e1bf66f23384aa
void setup() {
size(500, 500);
smooth(8);
noStroke();
}
float t, tt, ht, x, y;
int N = 11;
float l = 24;
float sp = l*1.5;
View gist:c0862599eeb4c248c558
int[][] result;
float time;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
for (int i=0; i<width*height; i++)
View gist:88a874674b6255281cf5
float th1, th2, r1 = 110, r2 = 100;
float d;
float x, y, t;
int N = 66;
float s = .0015;
int nf = 320;
float tt;
void setup() {
size(500, 500, P2D);
View gist:1a3d4d50a0e4069e7b17
void setup() {
size(500, 500);
rectMode(CENTER);
noStroke();
}
float x, y, t, tt;
color c1 = color(32), c2 = color(240, 0, 0), cb = color(245);
int N = 10;
float spm = 60, sp, l1 = spm/2, l2 = spm/4;
View AWTKeyMapping.java
package computer;
// Referenced classes of package computer:
// KeyMapping
public class AWTKeyMapping extends KeyMapping
{
public AWTKeyMapping()
View A.mdown

DCPU-16 Spec Suggestions

  1. Evaluate b before a

This makes instructions that address the stack twice meaningful instead of confusing and useless.

ADD PEEK, POP should pop the top of the stack and add it to the second entry, but currently the PEEK is evaluated before the POP occurs.

  1. Add [SP+next word] addressing
View PS3.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>AudioList</key>
<array>
<dict>
<key>AudioBitrate</key>
<string>160</string>