HellMood information 4244 glöps
- general:
- level: user
- personal:
- portals:
- demozoo: profile
- cdcs:
- cdc #1: Crystal Dream 2 by Triton
- cdc #2: Hydrokinetics by Prismbeings
- cdc #3: Overdrive 2 by Titan [web]
- cdc #4: Way Too Rude by Logicoma [web] & Loonies [web]
- cdc #5: There by Still [web]
- cdc #6: Hexer by LJ
- cdc #7: Second Nature by Desire [web] & The Twitch Elite
- 256b MS-Dos weed by g0blinish
- Quote:
But I'd save "mov ax,0c12h" (even "mov ax,0c02h") instead of "mov ax,0ch" else it will draw glitched on real systems because ah=0/int 10h returns al=20h (for graphic modes). DOSBox ignores this and saves input AL therefore it draws normal. There's no problem to use "mov ax" because your code is 127b ;)
Totally right, i realized afterwards myself
Quote:P.S. I think calculation can be optimized too :)
Heavily! But i stopped on 2^7 ;) 2^6 might be possible ;) - isokadded on the 2020-12-10 09:52:23
- 256b MS-Dos weed by g0blinish
- Neat, but wrong category, should be 128b ;)
here's how to remove the needed 30 bytes
Code:org 100h use16 mov al,12h int 10h mov ch,32000/256-1 wlp: push cx ; AA.f=A*#PI/16000 mov word [bp+si],cx fldpi fidiv word [byte bx+si-256+c1] fimul word[bp+si] fst dword [bp+si] ;AA ; D:= (1+Sin(A)) * (1+0.9*Cos(8*A)) * (1+0.1*Cos(24*A)) * (0.9+0.05*Cos(200*A)); FSIN FLD1 FADDP ;ST(1) = ST(0) + ST(1), ;(1+0.9*Cos(8*A)) fld dword [bp+si] fimul word [byte bx+si-256+c2] fcos fmul dword [byte bx+si-256+c3-2] fld1 faddp FMULP ;ST(1) = ST(0) * ST(1) ;(1+0.1*Cos(24*A)) fld dword [bp+si] fimul word [byte bx+si-256+c6] fcos fmul dword [byte bx+si-256+c7-2] fld1 faddp FMULP ;(0.9+0.05*Cos(200*A)) fld dword [bp+si] fimul word [byte bx+si-256+c4] fcos fmul dword [byte bx+si-256+c5-2] fld dword [byte bx+si-256+c3-2] faddp fmulp fimul word [byte bx+si-256+c8] fstp dword [bp+si+4];D*S ; X:= Fix(D*Cos(A)*S); \convert polar to rectangular coordinates ; Y:= Fix(D*Sin(A)*S); fld dword [bp+si] fsincos fmul dword [bp+si+4] fistp word[bp+si] ;X mov cx,320 add cx,[bp+si] fmul dword [bp+si+4] fistp word[bp+si] ;Y mov dx,400 sub dx,word [bp+si] ; Point(X+320, 400-Y, 2\green\); ; Expects: AH 0cH ; AL color number (+80H means XOR with current value) ; BH video page (0-based) ; CX graphics column ; DX graphics row ; mov ax,0c12h mov ah,0x0c ; xor bh,bh int 10h pop cx ; in al,60h ; dec al ; je exp loop wlp ret c1: dw 16000 c2: dw 8 ; c3: dd 0.9 c3: dw 0x3f66 c4: dw 200 ; c5: dd 0.05 c5: dw 0x3d4c c6: dw 24 ; c7: dd 0.1 c7: dw 0x3dcc c8: dw 100 - rulezadded on the 2020-12-09 22:34:56
- 256b MS-Dos the tower of code by Sensenstahl
- –_– –_–
–_– - rulezadded on the 2020-12-05 17:42:04
- demo MS-Dos I AM CGA by Disaster Area [web]
- what optimus said =)
- rulezadded on the 2020-12-04 19:06:11
- 64b game MS-Dos snake64 by Jin X
- I tested with DosBox0.74. Same issues. However i realised, that i can play the 56M version with the NUMPAD, rather than with the keys, and then i can go in all four directions. Well, after i started four times, because it ends itself that often at start ^^ Anyway, that's sufficient for a thumb =) A compatible version still would be nice ;)
- rulezadded on the 2020-12-04 17:24:24
- 64b game MS-Dos snake64 by Jin X
- I'm on DosBox 0.74.3 but neither version works (tested snake64, snake64a,snake56m,snake45x) :| Anything i might overlook?
Mostly, they do nothing, but exit if i press ENTER exactly 4 times. The 56m version almost always quits on start, sometimes it starts, and i see a brown snake once i press DOWN, then it quits if go left.
I also want to play! Help! :D - isokadded on the 2020-12-04 16:32:04
- 4k procedural graphics Windows Winter by Team210 [web]
- ♥
- rulezadded on the 2020-12-01 10:48:25
- 4k Windows PROCYON by k2 [web]
- What Sense said, but with a thumb =)
- rulezadded on the 2020-11-25 15:02:56
- 4k Windows wysinwyg by Bunch of Craving Kids
- ♪♫♥
- rulezadded on the 2020-11-24 10:26:12
- 8k Apple II Applesoft Basic Bot by Desire [web]
- (=
- rulezadded on the 2020-11-23 19:35:17
account created on the 2013-10-21 16:56:56
