Old screen 80 x 24

Just starting out? Need help? Post your questions and find answers here.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Old screen 80 x 24

Post by Kwai chang caine »

Hello at all

I don't know anything at the graphic programming :oops:
But i search a code for create a virtual old screen like old IBM
I want a 80 characters by line and 24 lines.

I can do this with TextGadget, or EditorGadget, but the problem is, when i resize the gadget, the character not resizing with it :cry:
So me, i search a screen with characters resizing with the screen

Somebody know this style of code ??

Thanks and good dat
ImageThe happiness is a road...
Not a destination
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Old screen 80 x 24

Post by IdeasVacuum »

Sounds like a screen that would be for a machine running DOS rather than Windows, in which case your output would want to be console output.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Old screen 80 x 24

Post by Zach »

You could use a console, but I don't think the text would scale with a window resize.

You might want to open a 2D based Screen, with DirectX or OpenGL and use your own routines to write to the screen with bitmap fonts, or by rendering text to images and make sure your drawing routine resizes the text elements based on the screen size.

I'm sure someone around here would know how to do that..
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Old screen 80 x 24

Post by Kwai chang caine »

Sounds like a screen that would be for a machine running DOS rather than Windows, in which case your output would want to be console output.
No no, it's for trying to reproduce a virtual emulator IBM like Attachmate EXTRA, i don't know if you know it.
In fact, i have two solution:
1/ Using the real program, but he works with OLE and an very hard file of parameter
2/ Create a virtual screen like him, and simulate his behaviour
You could use a console, but I don't think the text would scale with a window resize.
Yes it's that the problem :|
I'm sure someone around here would know how to do that..
Thanks, perhaps someone have o beginning of code, thanks

@All
Thanks for your answer 8)
ImageThe happiness is a road...
Not a destination
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Old screen 80 x 24

Post by LuCiFeR[SD] »

Did you not ask this question many years ago KCC? I am sure I have seen it here before...

I knew I was right.... it was back in 2007 KCC. you were doing an EGA emulator... I am pretty sure you could adapt that code to do what you want.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Old screen 80 x 24

Post by Kwai chang caine »

Yes you have a good memory, but at this moment there are not really good solution
Since this time, i say to me, perhaps there are news about this subject
ImageThe happiness is a road...
Not a destination
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Re: Old screen 80 x 24

Post by utopiomania »

Scaling the text to the window is a bad idea, isn't it?. Who needs that? Just Open the window
in some proprtion to the users screen size and resolution, and set the font size according to that,
then let the window expand to the right and bottom if users expand it, or fix it if they try to make it smaller than the original size.

A console type screen with characters that expanded and contracted with the window size would
certainly look weird to me.
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Old screen 80 x 24

Post by Zach »

But that is part of the emulating of a classic fixed resolution screen.

Just like when you load up a really old DOS game and stretch it to an arbitrary, larger resolution, everything scales bigger and looks pixelated. It's part of the appeal.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Old screen 80 x 24

Post by Kwai chang caine »

Zach wrote:But that is part of the emulating of a classic fixed resolution screen.
Just like when you load up a really old DOS game and stretch it to an arbitrary, larger resolution, everything scales bigger and looks pixelated. It's part of the appeal.
Exactely 8)

This emulator is piloted by OLE, and sometime, i need to see the background program who pilot it, and sometime i need to see just the screen move, even if the character is not lisible, just a look of all the screen like thumbail is sufficient for see what is the job it works at this moment :wink:

So like this you can resize dynamicaly the windows, in the same time the screen change all alone 8)

I'm sad to say to you you are wrong utopiomania, it's in fact the primary usual function of this emulator :D
ImageThe happiness is a road...
Not a destination
Post Reply