projects
/
retrocrawl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[retrocrawl]
/
src
/
amiga
/
main.c
1
#include "hwregs.h"
2
3
int main(void)
4
{
5
REG_INTENA = SETBITS(INTEN_VERTB | INTEN_MASTER);
6
7
REG_DMACON = CLRBITS(DMA_ALL);
8
REG_BPLCON0 = BPLCON0_COLOR;
9
REG_BPLCON1 = 0;
10
REG_DIWSTART = 0x2c81;
11
REG_DIWSTOP = 0x2cc1;
12
REG_DDFSTART = 0x38;
13
REG_DDFSTOP = 0xd0;
14
15
REG_COLOR0 = 0x237;
16
17
for(;;);
18
return 0;
19
}