User Tag List

Показано с 1 по 10 из 27

Тема: APU для Spectrum -арифметический сопроцессор

Древовидный режим

Предыдущее сообщение Предыдущее сообщение   Следующее сообщение Следующее сообщение
  1. #1
    zx_
    Гость

    По умолчанию APU для Spectrum -арифметический сопроцессор

    набрел здесь на заметку, о подключении 8231 к спектруму, пишут из старого немецкого журнала
    схемка



    I'm probably able to give you some hints because of... a couple of weeks ago I started to build a Sinclair ZX / ZX81 APU Prototyp card based on an article of an old German computer magazin.
    So even that the ROM seems to be missing on your card you are probably able to use the card with some Basic coding as we started here in Germany to do some simple tests.
    APU Intel 8231A or AMD AM9511A are pin compatible
    So beside some coding we started with using the original Spectrum ZX ROM without any changes:
    Used I/O Addresses to communicate with the APU are as follows, while the APU is using two registers for the calculation(s): a Data- and a Command Register
    D=Data-Adresse = 31d -> 1Fh (or 125d -> 7Dh)
    C=Command-Adresse = 95d -> 5Fh (or 127d -> 7Fh)
    in our case we toggle address bit A6 to switch between Data and Command register (see my attached schematic snapshoot), so the Apple I/O Addresses needs to be used here, instead.
    APU Testprogramm using the Standard Speccy 48K ROM
    Arithmetic APU Operation -> 16 Bit Addition: Command 108d -> 6Ch

    PROGRAM: APU-Test
    100 REM TESTPGM 8231A or AM9511A APU
    110 LET C=95: LET D=31 REM 95d = Command Register; 31d = Data Register
    120 OUT D,10: OUT D,0 REM load value 10 to the APU
    130 OUT D,20: OUT D,0 REM load value 20 to the APU
    140 OUT C,108 REM use APU command 108d -> 6Ch to do a 16nd Bit Addition
    150 LET A=IN D: LET B=IN D REM get calculation result(s)
    160 PRINT A REM A should held 0
    160 PRINT B REM B should held 30 -> which is the result of 10 + 20 (see above)


    хехЪ
    здесь ориджинал
    https://www.applefritter.com/comment...#comment-86258

  2. #1
    С любовью к вам, Yandex.Direct
    Размещение рекламы на форуме способствует его дальнейшему развитию

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Похожие темы

  1. [Поиск 1] Сопроцессор 8087
    от trader2k4 в разделе Поиск
    Ответов: 17
    Последнее: 26.03.2018, 21:51
  2. z80 и арифметический сопроцессор AM95
    от zx_ в разделе Несортированное железо
    Ответов: 16
    Последнее: 18.08.2017, 22:53
  3. Сопроцессор
    от LeoN65816 в разделе Агат
    Ответов: 6
    Последнее: 29.10.2016, 07:54
  4. Математический сопроцессор.
    от Demige в разделе Несортированное железо
    Ответов: 28
    Последнее: 01.05.2012, 11:15
  5. Куплю СоПроцессор 387sx
    от REMR в разделе Барахолка (архив)
    Ответов: 6
    Последнее: 02.01.2010, 23:55

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •