Skip to content

Instantly share code, notes, and snippets.

View nodepond's full-sized avatar

Martin Wisniowski nodepond

View GitHub Profile
@nodepond
nodepond / gist:a92a6ebdbb234bf4e5eeb8642bac7aca
Last active January 8, 2022 23:10
How to copy files to (.prg / .seq) disk (.D64) on mac os-x with vice / c1541-tool
To to copy files (.prg / .seq) to a disk on OS-X / Linux.
## Write files to existing disk
Open the tool c1541 from VICE (located in VICEFOLDER/bin/).
Manual:
http://www.cs.cmu.edu/~dsladic/vice/doc/html/vice_10.html
@nodepond
nodepond / Class1
Last active September 1, 2019 18:08
ProcessingJam-BelowZero: Template to build upon for live-coding challenge at PocketRoom. https://www.pocketroom.de
class Class1 {
Class1() {
}
void update() {
}
void show() {
}
}
@nodepond
nodepond / x2018-the_dream-by-nodepond
Last active November 13, 2018 17:41
The Dream (2018) by Nodepond - PETSCII Basic Listing
10 rem created with petmate. artwork the dream by nodepond for xparty 2018
20 poke 53280,0
30 poke 53281,0
100 for i = 1024 to 1024 + 999
110 read a: poke i,a: next i
120 for i = 55296 to 55296 + 999
130 read a: poke i,a: next i
140 goto 140
200 data 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160
201 data 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160
@nodepond
nodepond / gist:0798669598eb2a968e53
Last active August 29, 2015 14:13
Pyxel Tilemap to fuccboiGDX Parser in Ruby
# Usage:
# Run this script in the same folder, where you have exported the ’tilemap.json’ from Pyxel
# The tilemap is named ‘Layer 0′
# The collisionmap is named ‘Layer Collide’
# It generates lua-code ready to c&p paste. There is an more accurate usage example in the ruby-file itself.
# http://www.nodepond.com/blog/779-pyxel-tilemap-to-fuccboigdx-parser-in-ruby
require 'json'
@nodepond
nodepond / gist:5e71171ffbe2ec09aa03
Created September 30, 2014 17:47
Pyxel to Mogamett tilemap-parser in Ruby
require 'json'
tilemap_raw = File.read('tilemap.json')
tjson = JSON.parse tilemap_raw
@tileshigh = tjson["tileshigh"].to_i
@tileswide = tjson["tileswide"].to_i
@tilewidth = tjson["tilewidth"].to_i
@tileheight = tjson["tileheight"].to_i