Author Topic: TypeWritter  (Read 6634 times)

0 Members and 1 Guest are viewing this topic.

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
TypeWritter
« on: April 11, 2007 »
Ok heres the source to my typewritter its not very commented but thats because im not very good at commenting my code.

it should be fairly self explanitory but if theres anythings anyones not sure off just give me a shout.
Challenge Trophies Won:

Offline CoDeMaN

  • Atari ST
  • ***
  • Posts: 127
  • Karma: 38
    • View Profile
Re: TypeWritter
« Reply #1 on: April 12, 2007 »
Cheers m8 ill have look at this later when kids are asleep
 :goodpost:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: TypeWritter
« Reply #2 on: April 12, 2007 »
Overkill code, far, far too complicated for what it is doing, but it does the job, needs to be fully commented to help Codeman as it has some quite confusing things such as pointers there for someone new to Freebasic.

Also just one more thing, there is no need to be using screensync.. You should be using rbraz's version of tinyptc, screensync is un-necessary, so Codeman if you have your version of tinyptc updated, you can safely take that line away. Also the code this typer seems far too complicated for what it is doing.

I will make a tutorial soon that is easy to understand for everyone, this listing would be of more use to someone with a fairly good idea of what they are doing, thanks for posting it nino, this is not negative criticism, I just don't want codeman or any other new coders to give up because it looks difficult.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: TypeWritter
« Reply #3 on: April 12, 2007 »
Nice one Nino :)

@Nick: You paraphrased "It's too complicated for what it's doing" 4 times there :P

However, he is right..
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: TypeWritter
« Reply #4 on: April 12, 2007 »
I overcomplicated my reply :P I'll give myself some bad Karma :D
Shockwave ^ Codigos
Challenge Trophies Won:

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: TypeWritter
« Reply #5 on: April 12, 2007 »
No I wanna do it!!

(BTW sorry, this is going off-topic.)
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: TypeWritter
« Reply #6 on: April 12, 2007 »
You can give me bad Karma too if you want.

Sorry for the off topicness.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: TypeWritter
« Reply #7 on: April 12, 2007 »
I really like typewriters in general ... keep it up!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: TypeWritter
« Reply #8 on: April 12, 2007 »
yeah your right shockwave its very complicated i wrote it for my own purposes and just put it up incase someone might find yousfull but your right its not really worth looking a if your a begginer there is much easyer ways of doing this folks.

and just to balance it out ill give you k shock.
Challenge Trophies Won:

Offline CoDeMaN

  • Atari ST
  • ***
  • Posts: 127
  • Karma: 38
    • View Profile
Re: TypeWritter
« Reply #9 on: April 12, 2007 »
Phew
I nearly started crying when i looked at the code lol

Still appreciate you posting the code m8 :)

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: TypeWritter
« Reply #10 on: April 12, 2007 »
@ninogenio:

Didn't look at your source - but it doesnt matter in the beginning if you may have
a wasty coding style as long as you achieve what you wanted. In the beginning
I think this is just because you may not know every instruction or command available.
But this makes it even more fun and actually harder to achieve the fx you want.

I remember my first intros on the amiga in assembly. The code was so shitty - but
it does what I wanted to. The main reason was - as soon as I read the description
of some instructions I start thinking about how I can use the instructions to achieve
the fx I wanted to code. If I come up with a solution I immediately started to code,
although if I would have continued reading some more description of other instructions
I would have realized that with them it could be done more elegantly...

But who cares in the end - we are all in for the fun of it !!!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: TypeWritter
« Reply #11 on: April 12, 2007 »
it doesnt matter in the beginning if you may have a wasty coding style as long as you achieve what you wanted. In the beginning I think this is just because you may not know every instruction or command available.
true reminds me of a time i coded a bitmap before I learned about loops thank god there was another way. Hey nino I dont think you did to bad at all nearly 90% of that code is actually the font that you used which is bound to take up a bit of memory although I cant comment on the executable code dont know FB too well

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: TypeWritter
« Reply #12 on: April 12, 2007 »
The writer works fine, I didn't mean to be harsh, I'm just making sure that everyone gets the most they can out of here. :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: TypeWritter
« Reply #13 on: April 12, 2007 »
@SW:

Definately. I guess ninogenio and all of us know that, Shocky. I just posted my
last post because it really reminds me on my first steps in programming - and
still nowadays - I sometimes realized that I could have solve some programming
problems a bit earlier / easier if I'd checked out some more opportunities concerning
programming languages/frameworks and techniques.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: TypeWritter
« Reply #14 on: April 12, 2007 »
Quote
true reminds me of a time i coded a bitmap before I learned about loops
Actually, if you look at an Atari ST game like R-Type, you'll find the level with the big ship on it (L3?) is all hard coded into optimised movem.l instructions.  It was the only way to get it fast enough.  Imagine that monster!

So who's going to do their own version of a typewriter now?

Jim
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: TypeWritter
« Reply #15 on: April 13, 2007 »
Thanks Nino :)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: TypeWritter
« Reply #16 on: April 13, 2007 »
Thanks Clyde.
Challenge Trophies Won: