Welcome, Guest. Please login or register.


Author Topic: Graphics Attribute Mode Example (Read 565 times)

Online gflorez

  • EP addict
  • *
  • Posts: 2971
  • Country: es
  • OS:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 80.0 Firefox 80.0
    • View Profile
Re: Graphics Attribute Mode Example
« Reply #15 on: 2020.October.03. 20:45:37 »
If such option were implemented on an EP, it would be no problem, as the character set is also modified.

Online gflorez

  • EP addict
  • *
  • Posts: 2971
  • Country: es
  • OS:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 80.0 Firefox 80.0
    • View Profile
Re: Graphics Attribute Mode Example
« Reply #16 on: 2020.October.03. 20:56:14 »
Which is of course not exactly blazingly fast.... That ROM function needs to scan through the whole character set worst case.

Not so slow, if a match is found on the first byte of the character, then its next line will be compared. If not, the next character. This task is fast on Machine code.

I think this is probably what the Spectrum does as well with the SCREEN$ command. The Spectrum display is not a text buffer either. It's an attribute-based graphical display.

I have suffered editing Spectrum basic lines a lot..... It was my first computer. Imagine the release I felt when I started to do(editing) it on the  EP.... (The Spectrum is)Good for some things only.
« Last Edit: 2020.October.04. 07:35:05 by gflorez »