pfw:template
                Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| pfw:template [2023-02-27 18:14] – [Possible pitfalls with DUMP] uho | pfw:template [2023-09-04 19:18] (aktuell) – ↷ Seite von en:pfw:template nach pfw:template verschoben uho | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| So - you want to describe a new idea? Great. | So - you want to describe a new idea? Great. | ||
| - | We give some guidelines how to do it. Below we describe the idea of a **DUMP** utility with parts that we find useful. | + | We give some guidelines how to do it. Below we describe the idea of a **DUMP** utility with parts that we find useful. This text is written in [[wiki: | 
| Just edit this text and adapt it to your idea. If in doubt you can always save a draft and come back later. | Just edit this text and adapt it to your idea. If in doubt you can always save a draft and come back later. | ||
| Zeile 39: | Zeile 39: | ||
| ==== Pseudo code for the DUMP implementation ==== | ==== Pseudo code for the DUMP implementation ==== | ||
| - | //What [[pfw: | + | //What [[en:pfw: | 
| < | < | ||
| Zeile 63: | Zeile 63: | ||
| - | You can find a [[https:// | + | You can find a [[https:// | 
| You can use it as follows: | You can use it as follows: | ||
| Zeile 86: | Zeile 86: | ||
| more useful small Forth. | more useful small Forth. | ||
| - | A DUMP utility in **GenericForth** can be found in [[pfw:dump-GenericForth.f|dump-GenericForth.f]] | + | A DUMP utility in **GenericForth** can be found in [[en:pfw:dump-genericforth.f|dump-GenericForth.f]] | 
| This example is factored using the pseudo code description. The character output has been factored into the useful word PEMIT ( char -- ) too. | This example is factored using the pseudo code description. The character output has been factored into the useful word PEMIT ( char -- ) too. | ||
| Zeile 94: | Zeile 94: | ||
| Other DUMP implementations can be found at the end of this description. | Other DUMP implementations can be found at the end of this description. | ||
| - | Your system might lack right justified number output or even BASE for printing numbers in other radix systems. The sample implementation in [[pfw: | + | Your system might lack right justified number output or even BASE for printing numbers in other radix systems. The sample implementation in [[en:pfw: | 
| Zeile 110: | Zeile 110: | ||
| terminate your session. If necessary a suitable test for the validity of used addresses might be reasonable on such systems so that | terminate your session. If necessary a suitable test for the validity of used addresses might be reasonable on such systems so that | ||
| dump can issue a normal error message (or display dummy data) in theses cases and leave the system / session otherwise intact. | dump can issue a normal error message (or display dummy data) in theses cases and leave the system / session otherwise intact. | ||
| + | |||
| + | ==== Contributions ==== | ||
| < | < | ||
| - | ==== Additional Implementation ==== | ||
| You have another approach to DUMP? | You have another approach to DUMP? | ||
pfw/template.1677518074.txt.gz · Zuletzt geändert: 2023-02-27 18:14 von uho