MadMockers / BareBonesOS

ROM / Firmware for DCPU
9 stars 2 forks source link

Add a call to get the screen size #2

Closed interfect closed 9 years ago

interfect commented 9 years ago

Also replaced hardcoded LEM-1802 sized with defines LEM_WID and LEM_HGT.

Since there may be different kinds of screens (Tech Compliant, for example, wants to add a whole series of little ones), the BBOS API should be capable of reporting the screen size.

Yet to be determined is whether support for other screens should be added by adding code to BBOS, or by maintaining hardware-specific forks.

Note that bbos.simple.asm and rom.bin are not updated with this change. How are those generated?

MadMockers commented 9 years ago

I'll be removing bbos.simple.asm as I made it for DASM before it supported all features.

rom.bin just bbos.asm assembled, however I built it with my assembler https://github.com/MadMockers/MadAss I'll also remove it now that DASM can produce it.

On Sun, Oct 11, 2015 at 11:27 AM, interfect notifications@github.com wrote:

Also replaced hardcoded LEM-1802 sized with defines LEM_WID and LEM_HGT.

Since there may be different kinds of screens (Tech Compliant, for example, wants to add a whole series of little ones), the BBOS API should be capable of reporting the screen size.

Yet to be determined is whether support for other screens should be added by adding code to BBOS, or by maintaining hardware-specific forks.

Note that bbos.simple.asm and rom.bin are not updated with this

change. How are those generated?

You can view, comment on, or merge this pull request online at:

https://github.com/MadMockers/BareBonesOS/pull/2 Commit Summary

  • Add a call to get the screen size

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/MadMockers/BareBonesOS/pull/2.