Frage zu Graphios

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Page 3 of 6
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1468
Registered: 03 / 2005
Subject:

Re: Frage zu Graphios

 · 
Posted: 05.07.2025 - 11:55  ·  #17
Thanks miparo.

This pretty much confirms what I suspected.

Danke miparo

Dies bestätigt im Wesentlichen, was ich vermutet habe.

Regards
miparo
Schreiberling
Avatar
Gender:
Location: Germany
Age: 59
Posts: 975
Registered: 09 / 2007
Subject:

Re: Frage zu Graphios

 · 
Posted: 05.07.2025 - 17:30  ·  #18
Hi Merlin,
Yes, that's a miserable mess in AVRco GraphLib.pas. It should have been moved to a new unit for modern displays; the function names could have stayed the same, as is the case with EVEgraphLib.

miparo
wilbo
Benutzer
Avatar
Gender:
Age: 69
Posts: 59
Registered: 11 / 2023
Subject:

Re: Frage zu Graphios

 · 
Posted: 10.07.2025 - 14:05  ·  #19
Hallo Merlin--Miparo
ich habe noch eine Frage zu diesem thema.
Beim Blick in das Asm-File sehe ich das beim label System.gfillrect: nichts mehr eingefügt wird und der Controller in diesem Beispiel bis zum Ret Befehl von SYSTEM.gDrawButtonFrame: laufen würde. Daher stellt sich für mich die Frage ob das nicht ungewollte Seiteneffecte haben kann?

Hello Merlin--Miparo
I have another question on this topic.
When looking into the asm-file I see that the label System.gfillrect: is not inserted anymore and the controller in this example would run until the Ret command of SYSTEM.gDrawButtonFrame:. Therefore the question arises for me whether this can have unwanted side effects?

Gruß wilbo
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1468
Registered: 03 / 2005
Subject:

Re: Frage zu Graphios

 · 
Posted: 10.07.2025 - 16:34  ·  #20
Hi wilbo.

I have to say that I have looked at the source and it looks wrong to me. But how to resolve it is a complete mystery. In the graphics mode you use it seems that you must specify RA8875. If you do not the gFillRect label is generated, but no code, including no RET, meaning that it will drop through to whatever happens to be defined next, in this case gDrawButtonFrame but in principle it could be anything.

This, to me, is clearly wrong, but since I have no idea what the missing code should be I have no way of fixing it.

I am open to suggestions.

=====================================================================================

Ich muss sagen, ich habe mir den Quelltext angesehen und er sieht mir falsch aus. Aber wie man das Problem löst, ist mir ein Rätsel. Im verwendeten Grafikmodus muss man anscheinend RA8875 angeben. Andernfalls wird zwar das Label gFillRect generiert, aber kein Code, einschließlich RET. Das bedeutet, dass es auf das nächste definierte Element durchgeht, in diesem Fall gDrawButtonFrame, aber prinzipiell könnte es alles sein.

Für mich ist das eindeutig falsch, aber da ich keine Ahnung habe, wie der fehlende Code aussehen soll, kann ich das Problem nicht beheben.

Ich bin offen für Vorschläge.
wilbo
Benutzer
Avatar
Gender:
Age: 69
Posts: 59
Registered: 11 / 2023
Subject:

Re: Frage zu Graphios

 · 
Posted: 10.07.2025 - 16:56  ·  #21
Hallo Merlin,
ich denke das einfachste wäre bei Color Displays einfach ein Ret Befehl einzufügen dann passiert zwar auch nichts aber es kann auch keinen Seiteneffect geben
Gruß Wilbo

Hello Merlin,
I think the easiest thing would be to simply insert a Ret command for Color Displays, then nothing happens but there can be no side effect
Greetings Wilbo
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1468
Registered: 03 / 2005
Subject:

Re: Frage zu Graphios

 · 
Posted: 10.07.2025 - 17:14  ·  #22
Or add a 'not supported in this mode. Please use FillRect instead.' error message.
wilbo
Benutzer
Avatar
Gender:
Age: 69
Posts: 59
Registered: 11 / 2023
Subject:

Re: Frage zu Graphios

 · 
Posted: 10.07.2025 - 18:54  ·  #23
Hallo Merlin,
das wäre noch wesentlich besser wenn es für dich auch einfach ist.
Gruß wilbo

Hello Merlin,
that would be even better if it is also easy for you.
Greetings wilbo
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1468
Registered: 03 / 2005
Subject:

Re: Frage zu Graphios

 · 
Posted: 11.07.2025 - 00:02  ·  #24
It is very easy for me wilbo. I will post here tomorrow.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Page 3 of 6
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 8 · Cache Hits: 14   138   152 · Page-Gen-Time: 0.016605s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI