Giter VIP home page Giter VIP logo

Comments (9)

morphx666 avatar morphx666 commented on June 14, 2024 1

I'm no longer supporting the FastCGAWinForms class.
However, here's the referenced library: https://github.com/svejdo1/CachedBitmap

from x8086netemu.

morphx666 avatar morphx666 commented on June 14, 2024 1

Unfortunately, the Console class in .NET is awfully slow.
If I'm (we're) ever able to fix the bug(s) I'll try to implement ncurses support.

As for the WinForms version: it is quite fast, but there's a lot more that can be done.
Enabling this hack makes the video renderer run blazing fast.

If you decide to experiment with this hack, you'll need to comment line 276 and uncomment line 277 from the CGAAdapter class.

from x8086netemu.

DualBrain avatar DualBrain commented on June 14, 2024

Do you have a newer version that hasn't been published to here?

from x8086netemu.

morphx666 avatar morphx666 commented on June 14, 2024

Yes, although it still suffers from the same bugs mentioned in the README

from x8086netemu.

DualBrain avatar DualBrain commented on June 14, 2024

Would you mind updating the branch? I'm very interested in helping out on this project. I've also commented on your blog regarding your frustration with "overflow checking" with a possible solution/explanation. I see that what is published here still has overflow checking enabled and I'm guessing that you wrote additional code (with additional overhead) to work around the issue. I suspect that there is an opportunity here to improve performance by utilizing the compiler feature instead of these workarounds.

from x8086netemu.

DualBrain avatar DualBrain commented on June 14, 2024

As for the "same bugs" problem; two eyes are better than one. ;-)

from x8086netemu.

DualBrain avatar DualBrain commented on June 14, 2024

With the current code available; remarking out the line:

ug.ScaleTransform(scale.Width, scale.Height)

In RenderText() of FastCGAWinForms allowed me to get the WinForms version up and running.

It appears that ScalTransform has been removed from the CachedBitmap project. I'm not really sure what affect this has; however, the WinForms app appears to work as desired.

Also, it's interesting to point out that the WinForms version seems to run a lot faster than the console version. So well worth the effort in getting it up and running.

Without a doubt, this is a project that has be very excited! Awesome work thus far. I really look forward to participating going forward.

from x8086netemu.

DualBrain avatar DualBrain commented on June 14, 2024

Hah... removing the reference from the project was all I really needed to do. ;-) With that said, now that it's confirmed we are both working with the same code... I'll definitely start digging in. Thanks for the additional links... will explore those further as well.

from x8086netemu.

morphx666 avatar morphx666 commented on June 14, 2024

Couple of hints:

  1. Edit and QBasic appear to suffer from the same bug. (Not sure if it matters, but FreeDos' Edit and GWBasic work just fine)
  2. Defrag fails with a rather interesting error message
  3. CheckIt's "Tests->System Board->[CPU Interrupt Bug](https://www.google.com/search?q=checkit+cpu+interrupt+bug" test used to work; I don't know what I changed to break this test.

from x8086netemu.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.