Search found 97 matches

by TmEE
Fri Apr 04, 2008 1:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Subs and variables
Replies: 7
Views: 6045

I use COMMON SHARED for variables.
by TmEE
Fri Apr 04, 2008 5:46 am
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 10546

np, I'm glad I could help :)
by TmEE
Thu Apr 03, 2008 2:35 pm
Forum: General Discussion
Topic: QB game remakes for Sega MD/Genny ?
Replies: 24
Views: 18230

QB game remakes for Sega MD/Genny ?

what would you think of having some QB games ported to Sega MD/Genny ? I did make a MD version of one of my QB games, and it plays great. Almost 8MHz 68000 + nice GFX chip = 66MHz 486DX2 with a lousy framebuffer One thing, ports will be in 68K ASM not BASIC.... there's one dialect for MD but if it d...
by TmEE
Thu Apr 03, 2008 2:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Just a thought...
Replies: 5
Views: 6478

You could start learning how to control different LAN cards (or there's some other way than direct I/O) and implement TCP/IP protocol, and some HTML browser and maybe add some Java support... not to mention image stuff...
by TmEE
Thu Apr 03, 2008 8:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 10546

This should be efficient...

Code: Select all

ADDR& = VARPTR(the_integer%)
A% = PEEK(ADDR&)
B% = PEEK(ADDR& + 1)
POKE ADDR&, B%
POKE ADDR& + 1, A%
by TmEE
Thu Apr 03, 2008 8:34 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 10682

I can't make things too easy for you... use your brains (and fingers) !!! I already said what to do with the TPRINTs, if no IMAGE array, CREATE one, just use DIM IMAGE(max_size_of_the_image_youre_gonna_load)...
by TmEE
Thu Apr 03, 2008 12:23 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 10682

that TPRINT is my own PRINT routine for Screen13. Just replace it with just PRINT and remove the 2 numbers after the string.
by TmEE
Wed Apr 02, 2008 10:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphics routines
Replies: 15
Views: 10682

monocrome BMPs are 1bpp... there's quite some headache getting them display nicely. I have some code to load 8 and 4 bit BMPs. I'll see if I can find it. Here it is, I wrote it before becoming an (ASM) optimization guru, so there's quite a bit of stupidity in the code SUB LOADBMP (BMPFILE$) 'Windows...
by TmEE
Tue Apr 01, 2008 12:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Assembler / Machine Language
Replies: 13
Views: 8831

While your going to make ASM, optimize the QB code... make lots of use of numbers that are powers of 2, also start things form 0 not 1. 256 is a BEAUTIFUL number, you can make tons of optimizations around it, and it fits well for x86 and Z80 (for which I usually write my ASM code).
by TmEE
Tue Apr 01, 2008 12:47 am
Forum: QBASIC and QB64 Questions & Answers
Topic: WRITING A SIMPLE GAME PROGECT.
Replies: 16
Views: 12251

I'm totally new here, so I don't know everything, sorry.... anyway I plan to stay and if there's more thing to avoid tell me.
by TmEE
Mon Mar 31, 2008 3:46 pm
Forum: Freebasic Questions & Answers
Topic: Which would be my best FB compiler version for these type of
Replies: 10
Views: 21496

I once thought of starting using FB , but I never took off.... then I discovered Sega Mega Drive and don't feel like making games for PC anymore. I write all my utils in QB45, and the most powerful sound tools for the mentioned game console are written in QB45 by me ;)
by TmEE
Mon Mar 31, 2008 2:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: WRITING A SIMPLE GAME PROGECT.
Replies: 16
Views: 12251

OK, I'll not do it again !!! Is it mentioned in the forum rules too somewhere ? (I might have missed something)
by TmEE
Mon Mar 31, 2008 2:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: WRITING A SIMPLE GAME PROGECT.
Replies: 16
Views: 12251

removed the code, write your own stuff
by TmEE
Mon Mar 31, 2008 10:02 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Graphs and what not...
Replies: 25
Views: 17508

Optimization :

WHILE INP(&H60) > 127: blablablablabla : WEND

I have some code that graphs some equation... I'll look for it, maybe you find it useful.

EDIT : Seems I've lost the code...
by TmEE
Mon Mar 31, 2008 9:57 am
Forum: News and Announcements
Topic: (TCB) Scrolling plateform game
Replies: 41
Views: 52160

This game looks really nice :) I'm definately looking forward to its release.
by TmEE
Sat Mar 29, 2008 1:29 pm
Forum: News and Announcements
Topic: Glass Breaker QB
Replies: 1
Views: 5526

Glass Breaker QB

Hi everyone, I've made this game quite a while ago though, but I'd like to hear some comments about it and stuff like that... The game is written 99% in QB45, 1% is 386ASM. GFX is done in MS-Paint and TGFedit 0.24. Here's a direct link (85KB) : http://www.hot.ee/tmeeco/DWNLOADS/GLASSBRK.RAR Sometime...
by TmEE
Mon Mar 17, 2008 11:26 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Playing a single MIDI note
Replies: 2
Views: 3776

The answer is direct I/O ( Port $330 or $300 ) along with General MIDI specification. Works in XP too, but the drums are out of sync usually (some XP MIDI emulation issue). Here's a tracker I made in QB45 (plus a little bit of ASM) that works on MIDI : http://www.hot.ee/tmeeco/DWNLOADS/MDTRK.RAR (it...