Skip to content

Instantly share code, notes, and snippets.

@h3xcat
h3xcat / soccer.asm
Created November 16, 2018 06:53
Soccer game for Atari 2600, modified version of 8bitworkshop.com 19th collision example
processor 6502
include "vcs.h"
include "macro.h"
include "xmacro.h"
seg.u Variables
org $80
counter byte ; increments each frame
yplyr0 byte ; player y pos
yplyr1 byte ; player y pos
@h3xcat
h3xcat / hosts
Created November 14, 2018 10:08
# Enhanced Network Hosts File
# Authored by Carl Bennett <https://carlbennett.me>
#
# How To <https://support.rackspace.com/how-to/modify-your-hosts-file/>
# (I do not endorse Rackspace, the document is simply of decent quality.)
#
# This file is hereby released under the MIT license. A copy of the license can
# be found at: <https://opensource.org/licenses/MIT>
#
--@name view_matrix_test
--@author
--@shared
SCREEN_SIZE_W = 1600
SCREEN_SIZE_H = 900
local size = 64
if SERVER then
local welded_to = chip():isWeldedTo()
data:image/bmp;base64,Qk3mrEgAAAAAADYAAAAoAAAA7AQAAOwEAAABABgAAAAAAAAAAADDDgAAww4AAAAAAAAAAAAANK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5XNK5X/wAACqkTNK5XNK5XNK5XNK5XNK5XYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBggcS6YGBgYGBgYGBgYGBgYGBgYGBgYGBg/wAAUHBQYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgWWYL/wAAWWYLWWYLMzkWYI9SYI9SYI9SWWYLWWYLWWYLWWYLWWYLYI9SYI9SYI9SYI9SYI9SYI9SYI9SYI9SYI9SYI9SYI9SYI9S/wAAIWYFIWYFIWYFY927////Y927Y927Y927Y927Y927Y927Y927Y927Y927Y927Y927Y927Y927Y927Y927oKCgoKCgoKCg/////////6Cg////////////////////////////oKCg////oKCgoKCgoKCgoKCgoKCgoKCgoKCg/////////////////////////////////6Cg/////6Cg/////////////////6Cg/6Cg/////////6Cg/////////////////////////wAAYGBg/////6CgYGBgYGBgYGBgYGBg3d3d3d3d3d3d3d3d3d3d/wAAYGBgYGBgYGBgYGBgYGBgYGBgfdt/fdt/fdt/fdt/fdt/fdt/fdt/fdt//wAAfdt/fdt/fdt//wAAfdt/fdt/fdt/fdt/gcS6gcS6gcS6gcS6gcS6gcS6gcS6gcS6gcS6gcS6CXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTCXtTBUIsBUIsBUIsBUIsBUIsB...AAcAAAcAAAcAAAcAAAG651
timer.Simple( 3, function()
DarkRP.addPhrase('en', 'advert', '[Advert]')
local billboardfunction = DarkRP.getChatCommand("advert")
billboardfunction = billboardfunction['callback']
DarkRP.removeChatCommand("advert")
-- https://github.com/FPtje/DarkRP/blob/4f282174556ba32082c6827066a70d9467c93e94/gamemode/modules/chat/sv_chatcommands.lua#L107
local function PlayerAdvertise(ply, args)
if args == "" then
timer.Simple( 3, function()
DarkRP.addPhrase('en', 'advert', '[Advert]')
local billboardfunction = DarkRP.getChatCommand("advert")
billboardfunction = billboardfunction['callback']
DarkRP.removeChatCommand("advert")
-- https://github.com/FPtje/DarkRP/blob/4f282174556ba32082c6827066a70d9467c93e94/gamemode/modules/chat/sv_chatcommands.lua#L107
local function PlayerAdvertise(ply, args)
if args == "" then
_2063_206a_206a_206f_206e_206a = "\x61"
_2063_206a_206a_206e_206f_206c = "\x62"
_2063_206a_206a_2063_206c_206f = "\x63"
_2063_206a_206c_202d_206a_206e = "\x64"
_2063_206a_206c_206a_202d_2063 = "\x65"
_2063_206a_206c_206c_202d_202d = "\x66"
_2063_206a_206c_206c_2063_206a = "\x67"
_2063_206a_206c_206f_206e_206c = "\x68"
_2063_206a_206c_206e_206f_206f = "\x69"
_2063_206a_206c_2063_206c_206e = "\x6A"