Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 3,103
» Latest member: arunganta
» Forum threads: 10,309
» Forum posts: 57,120
Full Statistics
|
Online Users |
There are currently 140 online users. » 0 Member(s) | 139 Guest(s) Bing
|
Latest Threads |
Oldies still around?
Forum: General/Misc
Last Post: Antoni Gual
03-20-2022, 08:42 PM
» Replies: 103
» Views: 94,513
|
RecroCoders Community - a...
Forum: FB Discussion & Programming Help
Last Post: ron77
02-26-2022, 03:12 PM
» Replies: 0
» Views: 728
|
New version of my DOS GUI...
Forum: QB Projects
Last Post: The walrus
01-07-2022, 08:41 PM
» Replies: 0
» Views: 1,032
|
Project looking for Progr...
Forum: QB Discussion & Programming Help
Last Post: Daniel3D
09-20-2021, 02:45 PM
» Replies: 0
» Views: 858
|
Old bespoke - No Source!
Forum: QB Discussion & Programming Help
Last Post: jofers_
04-22-2021, 05:27 PM
» Replies: 1
» Views: 1,471
|
What Type Of Information ...
Forum: QB Discussion & Programming Help
Last Post: sophiajones0
03-06-2021, 02:41 PM
» Replies: 0
» Views: 1,048
|
Neglect to activate Cash ...
Forum: QB Discussion & Programming Help
Last Post: sophiajones0
03-06-2021, 02:40 PM
» Replies: 0
» Views: 993
|
Cursor avec typewriter ef...
Forum: QB Discussion & Programming Help
Last Post: jofers_
01-21-2021, 05:20 PM
» Replies: 1
» Views: 1,466
|
Can I use labels in SUBs
Forum: QB Discussion & Programming Help
Last Post: jofers_
08-11-2020, 01:12 PM
» Replies: 1
» Views: 1,717
|
Old forum still viewable
Forum: Site/Forum Issues
Last Post: Kitto
07-06-2020, 03:23 PM
» Replies: 5
» Views: 18,436
|
|
|
New version of my DOS GUI, Costa |
Posted by: The walrus - 01-07-2022, 08:41 PM - Forum: QB Projects
- No Replies
|
 |
Oh, how the years have rushed by. To think that it's been some 16 years since I last posted in this forum!
I hadn't been working in BASIC for a long, long time. But, after I got my hands on an old IBM PS/2 computer, I thought it could be fun to use my old GUI, Costa on it. But as it turned out, it did not run well at all - far to much disk activity for such an old PC, which caused waiting times far too long to tolerate. So, my old copy of VBDOS was dusted off and brought back to life, and from time to time I've been able to get some work done on the GUI. It now runs pretty decently on this old 16 MHz i386, and I use it as a launcher for all the games and applications I have on the machine.
I know there will likely be next to no one interested in actually using it, but maybe someone will see a usage for it in DOSBox or on an old PC. If nothing else, maybe some of you will find it interesting. I've open sourced it and put in on GitHub, so you can poke around in the code - just remember that most of it was written when I was young and inexperienced, so don't judge too harshly
If nothing else, I've had fun getting backup into BASIC and trying to optimize old code for low-spec hardware.
More information and downloads on https://costa.jacobpalm.dk
Regards,
Jacob Palm
|
|
|
Project looking for Programmer (I can't do it myself) |
Posted by: Daniel3D - 09-20-2021, 02:45 PM - Forum: QB Discussion & Programming Help
- No Replies
|
 |
Hi everybody.
I'm Daniel, 41 years old and terrible at programming in any language. (not for lack of trying, Just too Dyslectic)
But I have ideas and I often find someone to build it.
I still play a 1991 DOS race game (stunts) and that has an active (modding) community, but the few programmers there are short on time.
Is there anyone interested with helping in writing part of the new SETUP program for the game.
The basis is already written in Qbasic.
I need a Installer function. First just for the game (a relative simple copy form source to destination)
Later to be expanded to install and remove mods.
The game supports 32 cars (it came with 11) but we are getting close to 100 now,
we need a tool that can move cars (4 files each, 5 if we include a graphic or metadata) from the game dir to a garage and back.
A lot of information can be found on the forum (forum.stunts.hu)
So if anyone wants to program but is looking for a project.
I apologize if I offended anyone by my shameless request.
I'm just getting frustrated and feeling powerless.
Regards
Daniel
|
|
|
Cursor avec typewriter effect |
Posted by: vegetalain - 12-08-2020, 12:10 AM - Forum: QB Discussion & Programming Help
- Replies (1)
|
 |
Hello world, hm, my name is Alain, i'm French (sorry if my english can be weird), so i would like to make the same display like this with a cursor :
![[Image: AncientHonorableHog-size_restricted.gif]](https://thumbs.gfycat.com/AncientHonorableHog-size_restricted.gif)
And i can do this "bas" file, now :
Code: _FULLSCREEN: SCREEN 9
DIM Text AS STRING
DIM Count AS INTEGER
DIM Start AS SINGLE
Text$ = "GREATINGS PROFESSOR FALKEN."
Curs$ = "Û"
COLOR 11, 0
CLS
gogo:
COLOR 11, 0
PRINT: PRINT
PRINT "";: INPUT "", A$
hop:
TIMER ON
FOR Count = 1 TO LEN(Text$)
Start = TIMER
COLOR 11, 0: PRINT MID$(Text$, Count, 1);
DO
LOOP UNTIL TIMER > Start + .01
NEXT Count
TIMER OFF
GOTO gogo
But, i don't know, how to diplay 'Curs$', after each letter of 'Text$', that the program display. And disappear at the end, to let the place for the cursor of the user...
Any idea to do that, please?
Thanks for your advice, and have a nice week 
Alain.
|
|
|
Can I use labels in SUBs |
Posted by: jhesski - 06-04-2020, 10:05 PM - Forum: QB Discussion & Programming Help
- Replies (1)
|
 |
I have recently returned to Qbasic after many years.
I never used SUBs before but I am attempting to learn and use them as I think they will make the code cleaner.
I moved some code from the main code to a SUB and it appears labels or line numbers are not allowed in a SUB?
I looked in the help and I don't see any place in the documentation that says this will not work.
Can someone explain if I need to do something different or why this would not work?
Code: SUB init
KEY 16, CHR$(0) + CHR$(1)
ON KEY(16) GOSUB foo
KEY(16) ON
foo:
print "you did it"
END SUB
I get an error of "Label not defined" when I try to run the code.
Thank you for your help.
|
|
|
Fixing QBOHO |
Posted by: jofers_ - 03-05-2020, 09:15 AM - Forum: Site/Forum Issues
- Replies (1)
|
 |
New forum looks nice! Um, anybody here though?
I was doing some nostalgia clicking, and I noticed QBOHO was in pretty bad shape:
http://www.qbasicnews.com/qboho/
I scraped that together years ago with a python script that parsed the rtf output of HELPMAKE.EXE and dumped it into a bunch of HTML files, which wildcard translated and uploaded. It used the IE-only "terminal" font, tables,   padding, and other horrors to replicate that loving "DOS" look, and it's all horribly broken now of course.
Nowadays browser support for Unicode, custom fonts, CSS, etc. is much better. Even the QuickHelp tooling is better. I found this C# tool which already converts quickhelp files to UTF-8 encoded HTML:
https://github.com/fancidev/DosHelp
So I wrote another Python script to reprocess that a bit further. I used one of the fonts from here:
https://int10h.org/oldschool-pc-fonts/fontlist/
And then packed everything into one CSS-only HTML page that uses anchor links to jump between topics, and the :target selector to show one topic at a time. Having only one page should make it a little easier to embed somewhere else. Sure, it's a 1.2MB but since it's all whitespace and English, that gzips down to 240kb. And the average webpage is 3MB so who cares?
Anyway, the result:
https://parkertomatoes.github.io/qboho/
https://github.com/parkertomatoes/parker...ster/qboho
Possible to get it updated here?
|
|
|
|