Demo coding

Programming, for all ages and all languages.
Post Reply
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Demo coding

Post by bubach »

I am going on al LAN soon i i thought that i would write a small demo in asm to their honor.. :-)
I have been playing around in mode 13h and been able to set mode x (320x240, much nicer), and i have made a "make a line" function in both. but the line gose like this in mode 13h:

Code: Select all

\
  \
    \
and like this in mode x:

Code: Select all

         __

i can?t seem to find the problem, does anyone have some nice mode x links or documents?

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Demo coding

Post by distantvoices »

you want to check out www.brackeen.com for sure, hm? Nice mode 13 tutorial that lad has set up.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Demo coding

Post by bubach »

?hm.. it?s in C. And it?s old to me.. :-) I already got the mode 13h stuff working in asm, but it?s mostly mode x that i need info on.. (asm source..)

btw http://atrevida.comprenica.com/gameprog.html is far better than brackeen..

thank u anyway..

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Demo coding

Post by distantvoices »

I 've scanned thou the source you've given: Fine source.

Although, I don't consider it *better* or anything else than brackeen.com.

If you are a *decent* programmer, you can derive nifty asm algorithms out of c source and vice versa - for what counts is the algorithm.

Okej?

Ha en bra (sorry, don't have those 'dots' at hands on german kbd) dag.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Demo coding

Post by bubach »

Okej, but it?s still on mode 13h and not mode x..
PS. ha en bra dag is spelled excatly like that without any "dots". :-)

hej d?!

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Post Reply