Re: "A Forth OS In 46 Bytes"

Liste des GroupesRevenir à cl forth 
Sujet : Re: "A Forth OS In 46 Bytes"
De : admin (at) *nospam* 127.0.0.1 (Kerr-Mudd, John)
Groupes : comp.lang.forth
Date : 04. Jun 2025, 17:48:16
Autres entêtes
Organisation : Dis
Message-ID : <20250604174816.4f86f66da5beb32775e8bd90@127.0.0.1>
References : 1
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
On Tue, 27 May 2025 22:33:38 +1000
Alexis <flexibeast@gmail.com> wrote:

 
Thought this community might be interested in this:
 
"[Philippe] doesn’t take a strong stance on whether this should
technically qualify as a Forth implementation, given that the base
implementation lacks stacks, dictionaries, and the ability to define
words. However, it does have an outer and inner interpreter, the ability
to compile and execute code, and most importantly, 'the simplicity and
hacky feeling of Forth.'"
 
-- https://hackaday.com/2025/05/27/a-forth-os-in-46-bytes/
 
Well it's a bag of garbage^w^w^whighly suspect here on an x86 platform;
it hits various locations in memory with no idea what's there imo

[My dis-assembly]

16AD:0100 50             push         ax
16AD:0101 B8 8E 00       mov          ax,008E
16AD:0104 31 D8          xor          ax,bx
16AD:0106 E8 FF 00       call         0208
16AD:0109 17             pop          ss
16AD:010A 00 3C          add          [si],bh
16AD:010C 05 75 00       add          ax,0075
16AD:010F EA 50 00 3C 00 jmp          003C:0050

16AD:0114 74 01          jz           0117
16AD:0116 EB 02          jmp          011A

16AD:0118 E8 EE 00       call         0209
16AD:011B 05 05 88       add          ax,8805
16AD:011E EB 47          jmp          0167

16AD:0120 B8 E6 02       mov          ax,02E6
16AD:0123 00 D2          add          dl,dl
16AD:0125 31 14          xor          [si],dx
16AD:0127 CD E4          int          E4
16AD:0129 80 75 80 C3    xor          byte [di-80],C3
16AD:012D F4             hlt         

->          d 100 l30
16AD:0100 50 B8 8E 00-31 D8 E8 FF-00 17 00 3C-05 75 00 EA  P...1......<.u..
16AD:0110 50 00 3C 00-74 01 EB 02-E8 EE 00 05-05 88 EB 47  P.<.t..........G
16AD:0120 B8 E6 02 00-D2 31 14 CD-E4 80 75 80-C3 F4        .....1....u.....
->          q

[in hex]
50B88E0031D8E8FF0017003C057500EA50003C007401EB02E8EE00050588EB47
B8E60200D23114CDE4807580C3F4


--
Bah, and indeed Humbug.

Date Sujet#  Auteur
27 May 25 * "A Forth OS In 46 Bytes"37Alexis
27 May 25 +* Re: "A Forth OS In 46 Bytes"2Richard
27 May 25 i`- Re: "A Forth OS In 46 Bytes"1minforth
28 May 25 +* Re: "A Forth OS In 46 Bytes"33dxf
28 May 25 i`* Re: "A Forth OS In 46 Bytes"32Richard
28 May 25 i +- Re: "A Forth OS In 46 Bytes"1John Ames
29 May 25 i `* Re: "A Forth OS In 46 Bytes"30dxf
29 May 25 i  `* Re: "A Forth OS In 46 Bytes"29Anton Ertl
29 May 25 i   +* Re: "A Forth OS In 46 Bytes"23Paul Rubin
29 May 25 i   i+* Re: "A Forth OS In 46 Bytes"4Anton Ertl
29 May 25 i   ii+- Re: "A Forth OS In 46 Bytes"1albert
31 May 25 i   ii`* Re: "A Forth OS In 46 Bytes"2Paul Rubin
31 May 25 i   ii `- Re: "A Forth OS In 46 Bytes"1Anton Ertl
3 Jun12:31 i   i`* Re: "A Forth OS In 46 Bytes"18anthk
3 Jun12:39 i   i +* Re: "A Forth OS In 46 Bytes"8Paul Rubin
6 Jun13:00 i   i i`* Re: "A Forth OS In 46 Bytes"7anthk
7 Jun01:02 i   i i `* Re: "A Forth OS In 46 Bytes"6Paul Rubin
8 Jun20:41 i   i i  +* Re: "A Forth OS In 46 Bytes"4anthk
8 Jun21:41 i   i i  i`* Re: "A Forth OS In 46 Bytes"3LIT
8 Jun23:26 i   i i  i `* Re: "A Forth OS In 46 Bytes"2Anton Ertl
8 Jun23:58 i   i i  i  `- Re: "A Forth OS In 46 Bytes"1LIT
8 Jun20:41 i   i i  `- Re: "A Forth OS In 46 Bytes"1anthk
3 Jun13:07 i   i `* Re: "A Forth OS In 46 Bytes"9LIT
6 Jun13:00 i   i  +* Re: "A Forth OS In 46 Bytes"5anthk
6 Jun14:21 i   i  i`* Re: "A Forth OS In 46 Bytes"4LIT
6 Jun15:54 i   i  i `* Re: "A Forth OS In 46 Bytes"3John Ames
7 Jun13:47 i   i  i  +- Re: "A Forth OS In 46 Bytes"1anthk
7 Jun13:47 i   i  i  `- Re: "A Forth OS In 46 Bytes"1anthk
6 Jun15:37 i   i  `* Re: "A Forth OS In 46 Bytes"3sjack
6 Jun15:55 i   i   +- Re: "A Forth OS In 46 Bytes"1dxf
6 Jun19:13 i   i   `- Re: "A Forth OS In 46 Bytes"1LIT
29 May 25 i   +* Re: "A Forth OS In 46 Bytes"2yeti
29 May 25 i   i`- Re: "A Forth OS In 46 Bytes"1Paul Rubin
29 May 25 i   +- Re: "A Forth OS In 46 Bytes"1dxf
29 May 25 i   `* Re: "A Forth OS In 46 Bytes"2sjack
30 May 25 i    `- Re: "A Forth OS In 46 Bytes"1dxf
4 Jun17:48 `- Re: "A Forth OS In 46 Bytes"1Kerr-Mudd, John

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal