Skip to content

Instantly share code, notes, and snippets.

View TheZoq2's full-sized avatar
🦀
🦀 Always rust! 🦀

Frans Skarman TheZoq2

🦀
🦀 Always rust! 🦀
View GitHub Profile
MOVE.W #$1ef,$6000
MOVE.W #$58,$6002
MOVE.W #$1108,$6004
MOVE.W #$2,$6006
MOVE.W #$1ef,$6008
MOVE.W #$58,$600a
MOVE.W #$1108,$600c
MOVE.W #$2,$600e
MOVE.W #$1ef,$6010
MOVE.W #$58,$6012
DC.W $1ef
DC.W #$58
DC.W #$1108
DC.W #$2
DC.W $1ef
DC.W #$58
DC.W #$1108
DC.W #$2
DC.W $1ef
DC.W #$58
CLOCK_PER_MILLIS = 218
TONE_TIME = 200
TONE_FREQS = {
"c":261.63,
"c2":523.25,
"d":293.66,
"e":329.63,
"f":349.23,
"g":392,
LEA #$7000,A7
PIAINIT:
MOVE.B #%00000111,$10084
;Second PIA
CLR.B $10086
MOVE.B #$F,$10082
MOVE.B #%00000111,$10086
MOVE.B #00,$10082
\usepackage{listings} %Add code sections
\usepackage{color}
\usepackage{textcomp}
\definecolor{listinggray}{gray}{0.9}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
\lstset{
backgroundcolor=\color{lbcolor},
tabsize=4,
rulecolor=,
basicstyle=\scriptsize,
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc} %Make sure all UTF8 characters work in the document
\usepackage{listings} %Add code sections
\usepackage{color}
\usepackage{textcomp}
\definecolor{listinggray}{gray}{0.9}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
\lstset{
backgroundcolor=\color{lbcolor},
\begin{titlepage}
\begin{tikzpicture}[f]
\draw (0, 0) node[inner sep=0] {\includegraphics[width=1\textwidth]{titleTopBackground}};
\draw (0, 0) node {\textcolor{white}{\centering\huge\textbf{{LABORATIONSRAPPORT}}}};
\end{tikzpicture}
\begin{minipage}[t]{7cm}
\flushleft
\textbf{Rapportskrivare:} \\
Frans Skarman PERSONNUMMER\\
\ \ \ \ \ Address \\
In file included from /home/frans/Documents/cpp/sfml/arcticseals/src/LightManager.h:9:0,
from /home/frans/Documents/cpp/sfml/arcticseals/src/entitygroup.h:13,
from /home/frans/Documents/cpp/sfml/arcticseals/src/entitygroup.cpp:1:
/home/frans/Documents/cpp/sfml/arcticseals/src/IDList.h: In instantiation of ‘zen::IDList<T>::IDList() [with T = zen::Light]’:
/home/frans/Documents/cpp/sfml/arcticseals/src/LightManager.h:13:11: required from here
/home/frans/Documents/cpp/sfml/arcticseals/src/IDList.h:111:23: warning: ‘zen::IDList<zen::Light>::freeSlots’ will be initialized after [-Wreorder]
std::set<int> freeSlots;
^
/home/frans/Documents/cpp/sfml/arcticseals/src/IDList.h:110:25: warning: ‘std::vector<zen::Light*, std::allocator<zen::Light*> > zen::IDList<zen::Light>::data’ [-Wreorder]
std::vector<T*> data;
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc} %Make sure all UTF8 characters work in the document
\usepackage[T1]{fontenc}
\usepackage{listings} %Add code sections
\usepackage{color}
\usepackage{textcomp}
\usepackage{url}
\definecolor{listinggray}{gray}{0.9}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
@TheZoq2
TheZoq2 / .bash
Last active April 22, 2016 14:34
#Kör en gång
ghdl -i *.vhd
Kör skriptet för att kompilera
#F;r att starta gtkwave
gtkwave wave.ghw
ctrl+shift+r laddar om waven.