Вводятся нововведения, стабильная работа начнется со следующего понедельника...
Загрузка...
Произошла ошибка!
ПОССАЛ

НИЩЕНОК БАЙТОЕБОВ-ПЕДЕРАСТОВ КОТОРЫЕ ПИШУТ НА СЯХ И АСМАХ ВСЯКУЮ ХУЕТУ
ТАКЖЕ ССУ НА ГВИДО-МРАЗЕЙ И РУБИ-ГОВНО
ОСОБЕННО ССУ НА ЖАБАМРАЗЕЙ
Функциональный-господин

1545045 | -4 | 29 Ноября 2012 @ 13:09 | №1545045 | Добавить комментарий
29 Ноября 2012 @ 13:10, №1545046 1545046

Нульчую.

29 Ноября 2012 @ 13:10, №1545047 1545047

Как у бабушки дела? Боршч наливает?

29 Ноября 2012 @ 13:10, №1545048 1545048
29 Ноября 2012 @ 13:10, №1545049 1545049

>>1545048
Нет.

29 Ноября 2012 @ 13:10, №1545050 1545050

>>1545049
Да

29 Ноября 2012 @ 13:10, №1545051 1545051

>>1545050
Ай не пизди.

29 Ноября 2012 @ 13:10, №1545052 1545052

>>1545051
Пшел нахуй

29 Ноября 2012 @ 13:11, №1545053 1545053

>>1545052
Я натурал.

29 Ноября 2012 @ 13:11, №1545054 1545054

>>1545053
НАТУРААААЛЬНЫЙ БЛОНДИН НА ВСЮ СТРАНУ ТАКОЙ ОДИН

29 Ноября 2012 @ 13:11, №1545055 1545055

>>1545054
А ТО!

29 Ноября 2012 @ 13:11, №1545056 1545056

Мне похуй на тебя и на твоё никчёмное мнение, поняло, ничтожество?

29 Ноября 2012 @ 13:11, №1545057 1545057

>>1545055
Саси.

29 Ноября 2012 @ 13:12, №1545059 1545059

>>1545056
колчую этого

29 Ноября 2012 @ 13:12, №1545060 1545060

>>1545056
А вот и бабах динамикоопущенки.

29 Ноября 2012 @ 13:14, №1545061 1545061

char in map = 8×16 pixels (words)

C = cpu memory with preloaded contents
c = unpacked executable
f = upper half is 64-character 8×8 font
s =
$70 sine table
$71 freq table
$72 channel data
$73 synth register copy
$74 constant random table
$75 raster bar table
$7e stack
$7f stack
1 = video frame buffer 1
2 = video frame buffer 2
3 = video frame buffer 3
w = workspace frame buffer (for post fx)
d, u, v = free memory for effect data
e.g. smoke (density, x-vel, y-vel), front and back, 256×242
m = 32×32 texture map
e = echo buffer
. = kept zero at all times

0 320 384 511 Row CPU Address
----------------------------------------------------------------
|CCCCCCCCCCCC­CCCCCCCCCCCCCCCCCCCCCCCC­CCCCCCCCCCCCCCCCCCCCCCCC­CCCC| 000 0000
| | 010 2000
|cccccccccccc­cccccccccccccccccccccccc­cccccccccccccccccccccccc­cccc| 020 4000
|cccccccccccc­cccccccccccccccccccccccc­cccccccccccccccccccccccc­cccc| 030 6000
|cccccccccccc­cccccccccccccccccccccccc­cccccccccccccccccccccccc­cccc| 040 8000
| | 050 a000
|ffffffffffff­ffffffffffffffffffffffff­ffffffffffffffffffffffff­ffff| 060 c000
|ssssssssssss­ssssssssssssssssssssssss­ssssssssssssssssssssssss­ssss| 070 e000
|

29 Ноября 2012 @ 13:14, №1545062 1545062

| 080
| | 090
| mmmm| 0a0
| mmmm| 0b0
| | 0c0
| | 0d0
| | 0e0
|............­.............­.............­... .| 0f0
|111111111111­111111111111111111111111­1111. eeeeeeee .| 100
|111111111111­111111111111111111111111­1111. eeeeeeee .| 110

|111111111111­111111111111111111111111­1111. eeeeeeee .| 120
|111111111111­111111111111111111111111­1111. eeeeeeee .| 130
|111111111111­111111111111111111111111­1111. eeeeeeee .| 140
|111111111111­111111111111111111111111­1111. eeeeeeee .| 150
|111111111111­111111111111111111111111­1111. eeeeeeee .| 160
|111111111111­111111111111111111111111­1111. eeeeeeee .| 170
|111111111111­111111111111111111111111­1111. eeeeeeee .| 180
|111111111111­111111111111111111111111­1111. eeeeeeee .| 190
|111111111111­111111111111111111111111­1111. eeeeeeee .| 1a0
|111111111111­111111111111111111111111­1111. eeeeeeee .| 1b0
|111111111111­111111111111111111111111­1111. eeeeeeee .| 1c0
|111111111111­111111111111111111111111­1111. eeeeeeee .| 1d0

|............­.............­.............­... eeeeeeee .| 1e0
|............­.............­.............­... eeeeeeee .| 1f0

29 Ноября 2012 @ 13:14, №1545063 1545063

|222222222222­222222222222222222222222­2222. eeeeeeee .| 200
|222222222222­222222222222222222222222­2222. eeeeeeee .| 210
|222222222222­222222222222222222222222­2222. eeeeeeee .| 220
|222222222222­222222222222222222222222­2222. eeeeeeee .| 230
|222222222222­222222222222222222222222­2222. eeeeeeee .| 240
|222222222222­222222222222222222222222­2222. eeeeeeee .| 250
|222222222222­222222222222222222222222­2222. eeeeeeee .| 260
|222222222222­222222222222222222222222­2222. eeeeeeee .| 270
|222222222222­222222222222222222222222­2222. eeeeeeee .| 280
|222222222222­222222222222222222222222­2222. eeeeeeee .| 290
|222222222222­222222222222222222222222­2222. eeeeeeee .| 2a0
|222222222222­222222222222222222222222­2222. eeeeeeee .| 2b0
|222222222222­222222222222222222222222­2222. eeeeeeee .| 2c0
|222222222222­222222222222222222222222­2222. eeeeeeee .| 2d0
|............­.............­.............­... eeeeeeee .| 2e0
|............­.............­.............­... eeeeeeee .| 2f0
|333333333333­333333333333333333333333­3333. eeeeeeee .| 300
|333333333333­333333333333333333333333­3333. eeeeeeee .| 310

29 Ноября 2012 @ 13:15, №1545065 1545065

|333333333333­333333333333333333333333­3333. eeeeeeee .| 320
|333333333333­333333333333333333333333­3333. eeeeeeee .| 330
|333333333333­333333333333333333333333­3333. eeeeeeee .| 340
|333333333333­333333333333333333333333­3333. eeeeeeee .| 350

29 Ноября 2012 @ 13:15, №1545066 1545066

|333333333333­333333333333333333333333­3333. eeeeeeee .| 360
|333333333333­333333333333333333333333­3333. eeeeeeee .| 370
|333333333333­333333333333333333333333­3333. eeeeeeee .| 380
|333333333333­333333333333333333333333­3333. eeeeeeee .| 390
|333333333333­333333333333333333333333­3333. eeeeeeee .| 3a0
|333333333333­333333333333333333333333­3333. eeeeeeee .| 3b0
|333333333333­333333333333333333333333­3333. eeeeeeee .| 3c0
|333333333333­333333333333333333333333­3333. eeeeeeee .| 3d0
|............­.............­.............­... eeeeeeee .| 3e0
|............­.............­.............­... eeeeeeee .| 3f0
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 400
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 410
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 420
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 430
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 440
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 450
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 460
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 470
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 480
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 490
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 4a0
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 4b0
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 4c0
|wwwwwwwwwwww­wwwwwwwwwwwwwwwwwwwwwwww­wwww. eeeeeeee .| 4d0
|............­.............­.............­... eeeeeeee .| 4e0
| eeeeeeee | 4f0

29 Ноября 2012 @ 13:15, №1545067 1545067

|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 500
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 510
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 520
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 530
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 540
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 550
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 560
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 570
|dddddddddddd­ddddddddddddddddddddDDDD­DDDDDDDDDDDDDDDDDDDDDDDD­DDDD| 580
|

29 Ноября 2012 @ 13:16, №1545068 1545068

Move immediate high (d ← c * 32)
00 ccc ddd ccccc ccc movih d, c

Arithmetic/Logic
01 000 ddd 00000 sss add d, s
01 000 ddd 1cccc-ccc addi d, c
01 001 ddd 00000 sss adc d, s
01 001 ddd 1cccc-ccc adci d, c
01 010 ddd 00000 sss sub d, s
01 010 ddd 1cccc-ccc subi d, c
01 011 ddd 00000 sss and d, s
01 011 ddd 1cccc-ccc andi d, c
01 100 ddd 00000 sss or d, s
01 100 ddd 1cccc-ccc ori d, c
01 101 ddd 00000 sss xor d, s
01 101 ddd 1cccc-ccc xori d, c
01 110 ddd 00000 sss cmp d, s
01 110 ddd 1cccc-ccc cmpi d, c
01 111 ddd 00000 sss mov d, s
01 111 ddd 1cccc-ccc movi d, c

Branch (o = signed offset relative pc)
10 0 0001 oooooo-ooo bgt label
10 0 0011 oooooo-ooo bne label
10 0 0101 oooooo-ooo bcc,bge label
10 0 1010 oooooo-ooo bcs,blt label
10 0 1100 oooooo-ooo beq label
10 0 1110 oooooo-ooo ble label
10 0 1111 oooooo-ooo bal label

Subroutine call
10 1 0001 oooooo-ooo cgt label
10 1 0011 oooooo-ooo cne label
10 1 0101 oooooo-ooo ccc,cge label
10 1 1010 oooooo-ooo ccs,clt label
10 1 1100 oooooo-ooo ceq label
10 1 1110 oooooo-ooo cle label
10 1 1111 oooooo-ooo cal label

Memory
11 000 ddd ooooo sss ld d, s+o
11 001 ddd ooooo sss st s+o, d

I/O
11 010 ddd 00ppp 000 in d, p
11 011 ddd 00ppp 000 out p, d

Vector jump/call (e = entry in global vector table)
11 100 000 0 eeeeeee jv e
11 101 000 0 eeeeeee cv e

29 Ноября 2012 @ 13:16, №1545069 1545069

Бомбокрекер!

29 Ноября 2012 @ 13:16, №1545070 1545070

Load effective address (o = unsigned offset relative pc)
11 101 ddd 1 ooooooo lea d, label

Miscellaneous
11 111 ddd 00000 000 push d
11 111 ddd 00001 000 pop d
11 111 000 00­010 000 nop
11 111 ddd 00011 sss mul d, s Store result in special product register
11 111 ddd 00100 000 stsp d Store d into stack pointer
11 111 ddd 00101 000 prod d, s Store s:d in product register
11 111 ddd 00110 000 jr d Jump to address in register
11 111 ddd 00111 000 cr d Call address in register
11 111 000 01­000 000 ret
11 111 ddd 01001 000 wait d Wait for status bit (blitter done, vblank…)
11 111 ddd 01010 000 send d Transmit on debug UART
11 111 ddd 01011 000 ldsf d Load d from status flags
11 111 ddd 01100 000 stsf d Store d into status flags
11 111 ddd 01101 000 initv d Set global vector table address
Input ports

000 product, low half
001 product, high half
010 status flags (blitter done, vblank…)
011 uart receive buffer
100 frame counter (global time)
101 benchmark timer
Output ports

000 blitter row
001 blitter column
010 blitter width
011 blitter height + start
100 blitter program
101 active video page 1..3
110 synth register select
111 synth register data

29 Ноября 2012 @ 13:16, №1545072 1545072

muls
; r2 * r3 → r1:r0
; clobbers product register

mul r2, r3
in r1, 1

mov r0, r2
add r0, r0
bcc .muls1
sub r1, r3
.muls1
mov r0, r3
add r0, r0
bcc .muls2
sub r1, r2
.muls2
in r0, 0
 ret

29 Ноября 2012 @ 13:17, №1545074 1545074

: aop rd, ra, rb : mv rd, rs : mul ra, rb : ld …, …

1aaaaaaa aaaapppp ppccccrr rrrrrrrr

a = alu op,
000 dd aaa bbb register d becomes a & b
001 dd aaa bbb register d becomes a + b
010 dd aaa bbb register d becomes a — b
011 dd aaa bbb register d becomes a | b
100 dd aaa bbb register d becomes a ^ b
101 dd aaa bbb register d becomes a min b
110 dd aaa bbb register d becomes a max b
111 dd aaa bbb register d is read from global ram at col, row according to registers a, b

p = product op,
aaa bbb register 6 becomes signed fixed-point adjusted product of registers a, b

c = copy op,
0 sss register 4 is read from register s
1 sss register 5 is read from register s

r = ram op,
0 aaaaaasss register 7 is read from shader ram at aaaaaa00 + floor(register s)
10 aaaaaaaa register 7 is read from shader ram at a
11 dddaaaaa register 7 is trashed; register d is written to shader ram at 110aaaaa

: aop rd, ra, rb : endp rr : jsr xyz

0aaaaaaa aaaa---- ---sssss ssssssss

a = alu op, same as before

s = special op,
00000 -------- no operation
00001 -------- terminate with no pixel
00010 -----rrr terminate with pixel according to register r
00100 -------- store sign bits of all registers into rSign
00101 --sssttt r7 ← (rxt & 0×ffff) ^ (rSignsss? 0 : 0×ffff)
00110 iiiijjjj add signed integer i to r4 and j to r5
10aaa aaaaarrr jump to a if r >= 0
11aaa aaaaarrr jump to a if r < 0

29 Ноября 2012 @ 13:17, №1545075 1545075

sh_julia
shader .end

:ld r7, .xmid
:sub r0, r4, r7 :ld r7, .ymid
:sub r1, r5, r7 :ld r7, .scale
:mul r6, r0, r7 :ld r7, .scale
:mov r0, r6 :mul r6, r1, r7 :st $d8, r4
:mov r1, r6 :ld r7, .initcount
:mov r3, r7 :mul r6, r0, r0 :st $d9, r5
:mov r4, r6 :mul r6, r1, r1
:mov r5, r6
.loop

29 Ноября 2012 @ 13:17, №1545076 1545076

; square z

:mul r6, r0, r1
:add r1, r6, r6
:sub r0, r4, r5 :ld r7, .c_re

; add c

:add r0, r0, r7 :ld r7, .c_im
:add r1, r1, r7 :mul r6, r0, r0

; determine length

:mov r4, r6 :mul r6, r1, r1
:mov r5, r6 :add r2, r4, r6 :ld r7, .limit
:sub r2, r2, r7 :ld r7, .step
:sub r3, r3, r7 :jpos r2, .break

:jpos r3, .loop
.break
:ld r7, .topcount
:sub r1, r3, r7 :ldd r7, .palette, r3
:mov r1, r7 :jpos r1, .bg
:emit r1

29 Ноября 2012 @ 13:17, №1545078 1545078

.bg
:skip

.xmid long $00a00000
.ymid long $00780000
.c_re long $fffff000
.c_im long $ffff8000
.scale long $00000300
.initcount long $00100000
shalign ; aligns to 4-longword address, for ldd instruction
.topcount long $000f0000
.step long $00010000
.limit long $00040000
long #000 ; the ‹#› encodes a colour into a longword
.palette
long #000
long #100
long #211
long #322
long #433
long #544
long #655
long #766
long #877
long #988
long #a99
long #baa
long #988
long #766
long #544
.end

29 Ноября 2012 @ 13:18, №1545079 1545079

00 osc 0 frequency, low word
01 osc 0 frequency, high word
02 osc 0 gain
03 filter cutoff
04 osc 1 frequency, low word
05 osc 1 frequency, high word
06 osc 1 gain
07 filter resonance
08 osc 2 frequency, low word
09 osc 2 frequency, high word
0a osc 2 gain
0b left fader
0c osc 3 frequency, low word
0d osc 3 frequency, high word
0e osc 3 gain
0f right fader
10 osc 0 amount of modulation from osc 0
11 osc 0 amount of modulation from osc 1
12 osc 0 amount of modulation from osc 2
13 osc 0 amount of modulation from osc 3
14 osc 1 amount of modulation from osc 0
15 osc 1 amount of modulation from osc 1
16 osc 1 amount of modulation from osc 2
17 osc 1 amount of modulation from osc 3
18 osc 2 amount of modulation from osc 0
19 osc 2 amount of modulation from osc 1
1a osc 2 amount of modulation from osc 2
1b osc 2 amount of modulation from osc 3
1c osc 3 amount of modulation from osc 0
1d osc 3 amount of modulation from osc 1
1e osc 3 amount of modulation from osc 2
1f osc 3 amount of modulation from osc 3

29 Ноября 2012 @ 13:18, №1545083 1545083

aaaa aaaa beat, pedal bass (88) 20 21 20 21 (88) 24 25 24 25 (88) 26 26 26 26 26 26 26 26
bbbb bbbb major, pedal bass 27 27 27 2a 28 28 28 2b 26 26 26 26 26 26 26 29
cccc cccc arp melody 01 02 03 04 09 0a 0b 0c 05 06 07 08
dddd dddd lead melody 01 02 03 04 0d 0e 0f 10 05 06 07 08
dddd dddd 01 02 03 04 11 12 13 14 05 06 07 08
d 16 15 17
eeee eeee 18 1b 18 1f 1a 1c 1e 1f 19 19 19 1d 19 19 19 19
aaaa aaaa 20 21 20 21 24 25 24 25 19 19 19 19 19 19 19 19
ffff ffff variation 20 21 20 21 22 23 22 32 19 19 19 19 19 19 19 19
gggg gggg a + moving bass 20 21 20 21 24 25 24 25 2c 2d 2e 2f 2c 2d 2e 2f
hhhh hhhh solo (4 times) 20 21 20 21 (94) 30 31 30 31 2c 2d 2e 2f 2c 2d 2e 2f
hhhh hhhh 20 21 20 21 30 31 30 3c 2c 2d 2e 2f 2c 2d 2e 2f
aaaa aaaa 20 21 20 21 (88) 24 24 24 24 37 37 37 37 37 37 37 37
bbbb bbbb 27 27 27 2a 28 28 28 2b 37 37 37 37 37 37 37 38
iiii iiii arp melody + jam 01 02 03 04 33 34 35 36 05 06 07 08
dddd dddd lead melody 01 02 03 04 0d 0e 0f 10 05 06 07 08
dddd dddd 01 02 03 04 11 12 13 14 05 06 07 08
d 16 15 17
kll 3b 3a 39

29 Ноября 2012 @ 13:19, №1545084 1545084

НАЧАЛЬНИК! ЭТОТ ПИДАРАС ОБОСРАЛСЯ!!!

29 Ноября 2012 @ 13:20, №1545086 1545086

>>1545084
Какая батруха у функционанального петушка

29 Ноября 2012 @ 13:21, №1545090 1545090

; Lines 0–479
displine:
add r6, r10 ; t0
out PORTB, r2 ; t1
adc r7, r11 ; t2
mov r17, r22 ; t3
sbrc r24, 7 ; t4
eor r17, r23 ; t5
out PORTB, r17 ; t6
add r4, r8 ; t7
adc r5, r9 ; t8
brcc 1f ; t9
neg r12 ; t10
1:
lsl r20 ; t11
rol r21 ; t12
brvc 1f ; t13
subi r20, 0×fe ; t14
1:
in r16, TCNT0 ; t15
sbrc r25, 7 ; t16
eor r17, r23 ; t17
out PORTB, r17

29 Ноября 2012 @ 13:21, №1545091 1545091

and r16, r21 ; t19
sbrc r16, 0 ; t20
neg r14 ; t21

ldi r16, ARPVOL ; t22
cp r7, r3 ; t23
brcs 1f ; t24
neg r16 ; t25
1:
add r16, r12 ; t26
add r16, r14 ; t27
sbrc r15, 7 ; t28
eor r17, r23 ; t29
out PORTB, r17 ; t30
subi r16, 256–102 ; t31
out OCR1A, r16 ; t32
subi r27, 1 ; t33
brcc noadvance ; t34
lsl r24 ; t35
adc r24, r31 ; t36
lsl r25 ; t37
adc r25, r31 ; t38
lsl r15 ; t39
adc r15, r31 ; t40
mov r27, r1 ; t41
displine_back:

29 Ноября 2012 @ 13:21, №1545092 1545092

out PORTB, r2 ; t42
sbrc r26, GF_INJ_FLICKER ; t43
subi r23, COLOURLSB ; t44
ldi r16, HSYNC ; t45
out PORTB, r16 ; t46
subi r18, 1 ; t47
sbc r19, r31 ; t48
brcc displine ; t49

rjmp blanking ; t50

noadvance:
DE4 ; t36
rjmp displine_back ; t40

29 Ноября 2012 @ 13:22, №1545094 1545094

>>1545084

НАЧАЛЬНИК

29 Ноября 2012 @ 13:23, №1545100 1545100

Весь пол засрал.

Читают: 1 | Отвечают: 0 Всего: 58 просмотров
Комментировать: Правила разметки

(← + Сtrl) вернуться назадк новым сообщениям (Сtrl + →)

Кликните мышкой, чтобы скрыть просматриваемое изображение.