nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Mar 2024 05:01



Reply to topic  [ 180 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12  Next
Радио-86РК на SRAM 32K 
Author Message
Fanat

Joined: 22 Mar 2018 20:46
Posts: 52
Reply with quote
gdv2002 wrote:
Огромное спасибо Юрию Лесных (ник на полигоне призраков Juriy за проверку платы, в целом ошибок не было, кроме перевернутой шины на ВИ53.
Исправил, выложил поправленную схему и картинку платы.
На этом и остановлюсь скорее всего.


Хорошая новость!
Павел Рябцов заказал небольшую партию этих плат. Интерес был небольшой, потому заказал всего 10 плат.
Quote:
Заказано 10 плат в синей маске, кто хочет то подписывайтесь в магазине.

https://chipkin.ru/product/pechatnaya-p ... kopirovat/


https://www.phantom.sannata.org/viewtop ... 17#p518717


25 Mar 2020 22:41
Profile
Doomed
User avatar

Joined: 04 Jan 2016 09:15
Posts: 649
Location: Russia, S.- Peterburg
Reply with quote
Как получить одну плату для сборки? \

_________________
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)


25 Mar 2020 23:34
Profile WWW
Fanat

Joined: 22 Mar 2018 20:46
Posts: 52
Reply with quote
askfind wrote:
Как получить одну плату для сборки? \


Перейти по ссылке в магазин к Павлу и приобрести. Но плат пока нет, вчера только заказал, пока сделают, пришлют, вирус еще этот...


25 Mar 2020 23:49
Profile
Doomed
User avatar

Joined: 04 Jan 2016 09:15
Posts: 649
Location: Russia, S.- Peterburg
Reply with quote
gdv2002 wrote:
Перейти по ссылке в магазин


Нет в наличии.

_________________
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)


26 Mar 2020 00:15
Profile WWW
Fanat

Joined: 22 Mar 2018 20:46
Posts: 52
Reply with quote
askfind wrote:
Нет в наличии.

gdv2002 wrote:
Но плат пока нет, вчера только заказал, пока сделают, пришлют, вирус еще этот...


Свяжитесь с Павлом и обговорите, на Полигоне призраков в теме про плату можете спросить, он лучше ответит.
Ссылка на тему я выше приводил.


26 Mar 2020 00:38
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
alexcp wrote:
Image

Подробности на https://github.com/skiselev/radio-86rk

неистово одобряю :kruto:

_________________
:dj: https://mastodon.social/@Shaos


08 May 2020 20:53
Profile WWW
Fanat

Joined: 05 Jul 2020 14:08
Posts: 87
Location: Ижевск
Reply with quote
В схеме 2018 года динамик подключен через транзистор Q1, почему бы его не подключить через свободный инвертор D9F?


19 Jun 2021 11:30
Profile WWW
Senior
User avatar

Joined: 11 Jun 2012 07:30
Posts: 128
Reply with quote
А что же, подключите.


19 Jun 2021 11:38
Profile WWW
Junior

Joined: 31 Mar 2009 05:47
Posts: 2
Location: 88.85.184.31
Reply with quote
gdv2002 wrote:
gdv2002 wrote:
Огромное спасибо Юрию Лесных (ник на полигоне призраков Juriy за проверку платы, в целом ошибок не было, кроме перевернутой шины на ВИ53.
Исправил, выложил поправленную схему и картинку платы.
На этом и остановлюсь скорее всего.


Хорошая новость!
Павел Рябцов заказал небольшую партию этих плат. Интерес был небольшой, потому заказал всего 10 плат.
Quote:
Заказано 10 плат в синей маске, кто хочет то подписывайтесь в магазине.

https://chipkin.ru/product/pechatnaya-p ... kopirovat/


https://www.phantom.sannata.org/viewtop ... 17#p518717

Платы заказаны, будут скоро у меня, все ошибки исправлены.


10 Aug 2021 01:42
Profile
Fanat

Joined: 22 Mar 2018 20:46
Posts: 52
Reply with quote
Павел Рябцов wrote:
Платы заказаны, будут скоро у меня, все ошибки исправлены.


Это радует, значит интересна ревизия.

В этой ревизии:
Исправлены выявленные ошибки.
-вынес на заднюю стенку разъем питания типа jack
-предусмотрел возможность установки разъема питания АТХ и стабилизатора -5В, в этом случае детали стабилизатора просто не распаиваем.
Остальное чисто косметика по шелку.

https://www.phantom.sannata.org/viewtop ... 83#p498142


10 Aug 2021 21:46
Profile
Maniac

Joined: 21 Jan 2003 04:08
Posts: 222
Reply with quote
alexcp wrote:
USB интерфейс на FT245R позволяет связать РК с настольным компьютером и, например, запустить на нем отладчик, в моем случае NoICE. Это, конечно, не Eclipse с OpenOCD, но сильно лучше, чем никакого отладчика. Для его работы нужен небольшой монитор, который я по-быстрому передрал из готового примера для 8085...

Приветствую! Экспериментирую с данным интерфейсом - загрузка в память, выгрузки и т.п. работают отлично, а вот с отладкой есть проблемы - PC почему-то постоянно увеличивается на 1. Например:

Image

Жмем F7 или F8:

Image

Инструкция JMP выполняется, но PC становится равным не 4003, как должно быть, а 4004. Находящаяся по адресу 4003 инструкция INR B осталась неисполненной.
Еще раз F7:

Image

INR C выполнился, а PC сейчас указывает на операнд следующего за ней JMP.

То же и с точками останова - RST пишется куда нужно, но после срабатывания точки останова PC становится равным на 1 больше, чем нужно.

Какие-то ошибки при переносе исходного кода монитора?

_________________
Эмулятор Emu80


15 Dec 2022 06:34
Profile ICQ WWW
Senior
User avatar

Joined: 11 Jun 2012 07:30
Posts: 128
Reply with quote
Проверил - у меня то же самое. Напишу автору NoICE.


15 Dec 2022 08:09
Profile WWW
Maniac

Joined: 21 Jan 2003 04:08
Posts: 222
Reply with quote
Да, я тоже уже сравнил с поставляемым вместе с NoICE Classic Monitor'ом и никаких принципиальных различий, которые могли бы повлиять, не увидел....

_________________
Эмулятор Emu80


15 Dec 2022 11:00
Profile ICQ WWW
Senior
User avatar

Joined: 11 Jun 2012 07:30
Posts: 128
Reply with quote
Да, емнип я ничего не менял, кроме ввода-вывода. Написал автору.


15 Dec 2022 11:13
Profile WWW
Senior
User avatar

Joined: 11 Jun 2012 07:30
Posts: 128
Reply with quote
Получил ответ:
Quote:
What version of NoICE are you using? The latest is 9.8, which includes a monitor specifically for the 8080. It doesn't have many differences from the 8085 version, but there are some difficulties with the 8080 if your program enables interrupts (see the tail of my response below). So you may want to compare Mon8080.asm (attached for your convenience) with your monitor.

For the 8080 and other targets using the serial protocol, NoICE does single-step by automatically setting and removing breakpoints.
Mon8080.asm as provided in the 9.8 install uses RST 1 for breakpoints. So in your example, when you press F7 NoICE should replace the INR B with an RST 1, and then tell the program to execute.
When the 8085 executes the RST 1, it should push PC, which will point at the instruction after the RST 1, or 4004.
The monitors' handler for RST 1 pushes PSW (two bytes, A and flags), loads A with 1, and jumps to INT_ENTRY
INT_ENTRY stores A as REG_STATE, does some other register storing, then
Code:
;  If entry here was by breakpoint (state=1), then back up the program
;  counter to point at the breakpoint/RST instruction.  Else leave PC alone.
;  (If CALL is used for breakpoint, then back up by 3 bytes)
        POP     H               ;GET PC OF BREAKPOINT/INTERRUPT
        LDA     REG_STATE
        DCR     A
        JNZ     NOTBP           ;JIF NOT A BREAKPOINT
        DCX     H               ;BACK UP PC TO POINT AT BREAKPOINT
NOTBP:  JMP     ENTER_MON       ;HL POINTS AT BREAKPOINT OPCODE

So the pushed PC of 4004 SHOULD get decremented to 4003 before the jump to ENTER_MON.
ENTER_MON reports the stop and current registers to NoICE, which then puts back the INR B op-code and shows the registers.
It is interesting that in your screen shots, B is NOT incremented. And by perverse coincidence, the low byte of the jump address happens to be the op-code for JMP.
Please try this: with PC at 4000 as shown in your first screenshot, select "Options", "Show Communications"
Then press F7. A spy window should appear showing the bytes set to and received from the target.
When the target stops, presumably looking like your second screenshot, right-click in the spy window, click "select all", then right-click and "copy". Paste the results into email so that I can see what the target is reporting. (If you are interested, you can decode the bytes yourself by referring to the protocol description at https://www.noicedebugger.com/help/work ... sicMonitor)


Were 8080 interrupts enabled during your test? One hassle with the 8080 is that there is no simple way to TELL whether or not interrupts are enabled. On many processors, such as HC11, there is an interrupt-enable bit in the processor status word that can be checked. The 8085 has the RIM instruction, which allows interrupt enable state to be read.
But on the 8080, there is nothing built in. There IS a hardware pin showing state, but you would need to provide hardware to read it, and code in Mon8080.asm to use the hardware. See more on this at https://www.noicedebugger.com/help/targets.htm#8085
Best regards, John Hartman

Я сделаю то, что он просит, попозже сегодня, и отпишусь ему.


Attachments:
Mon8080.asm [28.2 KiB]
Downloaded 117 times
15 Dec 2022 12:38
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 180 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12  Next

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.