{"id":2762,"date":"2019-11-10T13:19:53","date_gmt":"2019-11-10T11:19:53","guid":{"rendered":"http:\/\/www.final-memory.org\/?p=2762"},"modified":"2019-11-10T13:19:53","modified_gmt":"2019-11-10T11:19:53","slug":"apple-1-emulation-von-peter-sieg-ausprobiert","status":"publish","type":"post","link":"https:\/\/www.final-memory.org\/?p=2762","title":{"rendered":"Apple 1 Emulation von Peter Sieg ausprobiert"},"content":{"rendered":"\n<p>Ich habe im Laufe der Woche mal die Apple 1 Emulation auf Arduino Basis von Peter Sieg ausprobiert.<br \/>(vgl. <a href=\"https:\/\/github.com\/petersieg\/arduino\/tree\/master\/arduino_6502_apple1\">https:\/\/github.com\/petersieg\/arduino\/tree\/master\/arduino_6502_apple1<\/a>)<br \/>Den Ansto\u00df gab mir ein kleiner Artikel in Load #5.<br \/><br \/>Bis auf die RAM Beschr\u00e4nkung auf 1,5K l\u00e4uft das Projekt auf Anhieb auf einem Arduino Nano.<br \/><br \/><img loading=\"lazy\" decoding=\"async\" width=\"752\" height=\"576\" class=\"wp-image-2765\" style=\"width: 752px;\" src=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2019\/11\/gtkterm_apple1.png\" alt=\"Apple 1 Emulation auf Arduino Nano\" srcset=\"https:\/\/www.final-memory.org\/wp-content\/uploads\/2019\/11\/gtkterm_apple1.png 752w, https:\/\/www.final-memory.org\/wp-content\/uploads\/2019\/11\/gtkterm_apple1-300x230.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><br \/><br \/>Vielleicht baue ich den Ansatz noch aus, mir gef\u00e4llt der sich magisch compilierende Sketch nicht. Es werden keine sauberen Headerdateien verwendet. Ich w\u00fcrde ausserdem noch das AVR interne EEPROM als Programmspeicher f\u00fcr den emulierten Apple aktivieren.<br \/><br \/>Kleine Testprogramme habe ich bisher mit dem Acme Assembler erstellt, mit dem man z.B. auch f\u00fcr den C64 Programme erstellen kann.<br \/><br \/>Um die Programme auch in den Wozmon vom Apple 1 eingeben zu k\u00f6nnen,  habe ich mir eine kleines Hilfsprogramm geschrieben. Dieses konvertiert die Bin\u00e4rdaten in einen Hexdump, den man direkt in den Wozmon \u00fcber UART hochladen kann.<br \/><br \/>Vgl. <a href=\"https:\/\/github.com\/simonsunnyboy\/bin2woz\">https:\/\/github.com\/simonsunnyboy\/bin2woz<\/a><br \/><br \/>Das Testprogramm oben f\u00fcllt nur 16 Bytes innerhalb der Zeropage auf 0x41.<br \/><br \/><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\t\t*=$0280\n\nfill \t= $41    ; fill bytes\ndest\t= $0080  ; start address of destination\n\n\t\tldx #0\n\t\t\nloop:\t\t\n\t\tlda #fill\n\t\tsta dest,x\n\t\tinx\n\t\tcpx #$10\nbne     loop\n\n\t\tjmp $ff00  ; back to wozmon\n\t\t\n\t\t; acme -o fill.bin fill.S\n<\/code><\/pre>\n<div id=\"facebook_like\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.final-memory.org%2F%3Fp%3D2762&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:500px; height:80px;\" allowTransparency=\"true\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>Ich habe im Laufe der Woche mal die Apple 1 Emulation auf Arduino Basis von Peter Sieg ausprobiert.(vgl. https:\/\/github.com\/petersieg\/arduino\/tree\/master\/arduino_6502_apple1)Den Ansto\u00df gab mir ein kleiner Artikel in Load #5. Bis auf die RAM Beschr\u00e4nkung auf 1,5K l\u00e4uft das Projekt auf Anhieb auf einem Arduino Nano. Vielleicht baue ich den Ansatz noch aus, mir gef\u00e4llt der sich &hellip; <a href=\"https:\/\/www.final-memory.org\/?p=2762\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Apple 1 Emulation von Peter Sieg ausprobiert&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102,87,57,35],"tags":[],"class_list":["post-2762","post","type-post","status-publish","format-standard","hentry","category-apple-1","category-arduino","category-avr","category-mikrocontroller"],"_links":{"self":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/2762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2762"}],"version-history":[{"count":5,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/2762\/revisions"}],"predecessor-version":[{"id":2768,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/2762\/revisions\/2768"}],"wp:attachment":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}