1. dos rescue graphics library
- Posted by Insolor Jul 16, 2013
- 1533 views
Forked from Re: Support for older Euphoria programs? And porting DOS-Windows?
After long pause, I am raising the topic again. Lately I've made some changes to dos_rescue:
- First of all I've stopped Euphoria 3 support. I cosidered that on the one hand for now Eu4 is reliable enough, and on the other hand Eu3 don't need dos32 emulation because it supports dos32 itself. So now we can use overrided eu routines without putting dos_rescue qualifier before them.
- I made the window border resizable and made the image scaleable by integer factor.
- Now you can toggle the full screen mode by pressing Alt+Enter or with some routines like set_full_screen(on_off)
In the future:
- I plan to add 24-bit color support
- Use the mutithreading instead eu tasking in order to make the window active during long loops like
for i=1 to 1e6 do something_without_yielding_task() end for
You can get the code of dos_rescue here: https://bitbucket.org/insolor/dos_rescue
I haven't put anything at the downloads tab yet, but you can get the package by pressing 'get sources' button (white sheet of paper with blue down arrow).
As for https://bitbucket.org/mattlewis/dos_rescue I can't do much for it because I am not familiar with the X library.
Hi there
I've just uploaded the first more or less stable version of the dos rescue library.
It can be found here: https://bitbucket.org/insolor/dos_rescue/downloads
What's new:
- As I noted before, I had abandoned Euphoria 3 support.
- Fullscreen mode support now is stable.
- Graphics border added. In the future it can be used to reproduce some fancy ZX Spectrum - like border effects
- Removed text modes (0,1,2,3,7) and textmode specific routines: put_screen_char(), get_screen_char(), save_text_image(), display_text_image()
- Added some demos:
- spirograph.exw (Wikipedia article)
- queens.exw - graphic version of the standard queens.ex demo
- For the plot3d.exw demo projection changed to isometric
2. Re: dos rescue graphics library
- Posted by andi49 Jul 16, 2013
- 1444 views
Hallo
I checked your new lib.
maybe dosrescue may change to something like the gfx library from FreeBasic?
Easy to use Graphic functions that could be programmed in a style like old dos programs?
Andreas
3. Re: dos rescue graphics library
- Posted by Insolor Jul 17, 2013
- 1419 views
Hallo
I checked your new lib.
maybe dosrescue may change to something like the gfx library from FreeBasic?
Easy to use Graphic functions that could be programmed in a style like old dos programs?
Andreas
Yes, one of the presumed purpose of the library is to be a lightweight graphics library for dos style graphics. Now the most of the desired functionality is already implemented.
Any suggestions of new features are appreciated.