This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
******************************************************************** | |
* Snake - Animate slithering snake in window | |
* | |
* $Id$ | |
* | |
* Edt/Rev YYYY/MM/DD Modified by | |
* Comment | |
* ------------------------------------------------------------------ | |
* 1 2014/10/08 tim lindner | |
* Started writing code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/devices/cpu/m6809/hd6309.ops b/src/devices/cpu/m6809/hd6309.ops | |
index c96e3082d4..37e041e915 100644 | |
--- a/src/devices/cpu/m6809/hd6309.ops | |
+++ b/src/devices/cpu/m6809/hd6309.ops | |
@@ -432,6 +432,7 @@ DISPATCH11: | |
case 0x3B: %TFM; return; | |
case 0x3C: set_regop8(m_md); set_imm(); %BIT8; return; | |
case 0x3D: set_regop8(m_md); set_imm(); %LD8; return; | |
+ case 0x3E: machine().debugger().debug_break(); return; | |
case 0x3F: %SWI3; return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Color Computer RS-DOS disk format. | |
unused = 0xff | |
sector[1..] = input[0..255] | |
track[0..] = sector[1-18] | |
granule[1..17] = track[0..½] | |
granule[18..] = track[18..18½] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Color Computer OS-9 disk format. | |
unused = 0xff | |
lsn[0..] = input[0..255] | |
fds[0..] = lsn[0][8..11]:be { | |
fds.att:os9perm = lsn[*][0],os9perm | |
fds.own:be = lsn[*][1..2] | |
fds.dat:be = lsn[*][3..7] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: basic_dsk_rsdos | |
file-extension: dsk | |
title: RS-DOS filesystem wrapped in a basic array of sectors disk image | |
license: CC0-1.0 | |
endian: be | |
xref: Radio Shack TRS-80 Color Computer Disk System Owners Manual & Programmer guide, p58-59 | |
seq: | |
- id: granules1 | |
size: 9 * 256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iMac:tests tlindner$ ./run-cpp_stl_98 | |
init_file_lists | |
init_file_list: SPEC_SOURCES in /Users/tlindner/Projects/git/kaitai_struct/tests/compiled/cpp_stl_98/bin/spec_files.cmake => 150 entries | |
init_file_list: KS_SOURCES in /Users/tlindner/Projects/git/kaitai_struct/tests/compiled/cpp_stl_98/bin/compiled_files.cmake => 159 entries | |
init_cmake | |
cmake_cli = ["cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DINC1_PATH=/Users/tlindner/Projects/git/kaitai_struct/tests/compiled/cpp_stl_98/bin/spec_files.cmake", "-DINC2_PATH=/Users/tlindner/Projects/git/kaitai_struct/tests/compiled/cpp_stl_98/bin/compiled_files.cmake", "-DKS_PATH=/Users/tlindner/Projects/git/kaitai_struct/tests/compiled/cpp_stl_98", "/Users/tlindner/Projects/git/kaitai_struct/tests/spec/cpp_stl_98"] | |
-- Boost version: 1.69.0 | |
-- Found the following Boost libraries: | |
-- unit_test_framework | |
-- Configuring done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling src/devices/bus/spi/spi65.cpp... | |
In file included from ../../../../../src/devices/bus/spi/spi65.cpp:1: | |
In file included from ../../../../../src/emu/emu.h:109: | |
/Volumes/Projects/Projects/git/tlindner/mame/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/device.ipp:45:16: error: no viable overloaded '=' | |
return finder = result; | |
~~~~~~ ^ ~~~~~~ | |
../../../../../src/devices/bus/spi/spi65.cpp:101:12: note: in instantiation of function template specialization 'emu::detail::device_type_impl<spi65_slot_device>::operator()<device_spi65_interface, true, unsigned int, void (&)(device_slot_interface &), char | |
const (&)[7]>' requested here | |
SPI65_SLOT(config, m_slots[0], DERIVED_CLOCK(1, 1), spi65_bus, "sdcard"); | |
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <ctype.h> | |
// Unknown keys. | |
const unsigned char cypher_text[] = { | |
0xEC,0xDD,0xF3,0xB5,0xD9,0x9D,0xA6, // l]s5Y.& | |
0xAF,0xEF,0xC7,0x8F,0xDE,0x8F,0xCA,0xE7, // /oG.^.Jg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define LED 13 | |
#define SCS 0 | |
#define RW 1 | |
void setup() { | |
pinMode(LED, OUTPUT); | |
pinMode(SCS, INPUT); | |
pinMode(RW, INPUT); | |
digitalWrite(LED, HIGH); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SETDP $7F | |
65B7: 96 57 LDA $57 | |
65B9: 26 51 BNE $660C Branch if Z = 0 | |
65BB: 86 08 LDA #$08 | |
65BD: 97 57 STA $57 | |
65BF: 8E FF 00 LDX #$FF00 | |
65C2: 10 8E FF 01 LDY #$FF01 | |
65C6: CE FF 20 LDU #$FF20 | |
65C9: CC 34 0C LDD #$340C | |
65CC: 1A 40 ORCC #$40 inhibit firq |
OlderNewer