프로그램 사용/MAME2018. 2. 20. 11:50


Arcade Emulation on Recalbox

As the Advanced Arcade on recalbox wiki page for recalbox explains to us there are several arcade emulators included in recalbox.
Just using two of them will be enough for running the majority of games on your Raspberry Pi.

Those two systems are :

  • Mame

    • mame/romset version : 0.78
    • roms folder : mame
  • FBA_libretro

    • FBA is kind of an alternative version of MAME (emulating less arcade machines), but it follows exactly the same principles which I just explained
    • mame/fba/romset version : FBA 0.2.97.42 this corresponds to MAME 0.187
    • roms folder : fba_libretro

 

[링크 : https://github.com/recalbox/recalbox-os/wiki/Easy-Arcade-on-Recalbox-(EN)]

'프로그램 사용 > MAME' 카테고리의 다른 글

lakka  (0) 2018.02.20
recalbox, retropie NAS 접속하기  (0) 2018.02.20
retropie / MAME 버전  (0) 2018.02.20
mame rom set  (0) 2018.02.19
MAME rom 구조  (0) 2018.02.19
Posted by 구차니
프로그램 사용/MAME2018. 2. 20. 11:34

목록에 가니 적절한(?) 에뮬레이터 이름이 나와있으니..

해당 롬을 해당 경로에 복사해주면 더 잘되는 걸려나?


[링크 : https://docs.google.com/.../1antILt7D12EWOFzyJwTfB86NceghMJKXG7CdYumuHec/edit?usp=sharing]

   [링크 : https://github.com/RetroPie/RetroPie-Setup/wiki/MAME]


근데.. MAME 버전이 ROM Version 인가? 헷갈리네...

EmulatorRequired ROM Version# of ROMsDAT FileCompatibility List
mame4allMAME 0.37b52270.DATList
lr-mame2003MAME 0.784705.DATList
pifbaFB Alpha v0.2.96.71684.DATList
lr-fbalphaFB Alpha v0.2.97.424896.DATList

[링크 : https://github.com/RetroPie/RetroPie-Setup/wiki/Arcade]


Mame 0.194 까지 나왔네

[링크 : http://mamedev.org/release.html]


lr-mame2014에서는 0.159

0.161을 받고 있으니. lr-mame2016으로 해야하려나...?

lr-mame2014 (MAME 2014)

Visit mame2014-libretro on github Note: This emulator is considered 'optional' in RetroPie and has limited functionality. It requires more processing power than earlier MAME versions and will not run as many games at full speed on rPi hardware.

Roms Dir: /home/pi/RetroPie/roms/mame-libretro
Binary Dir: /opt/retropie/libretrocores/lr-mame2014
Config Dir: /opt/retropie/configs/mame-libretro/retroarch.cfg

MAME Version: 0.159


lr-mame2016 (MAME 2016)

Visit mame2016-libretro on github Note: This emulator is considered 'experimental' in RetroPie and has limited functionality. It requires more processing power than earlier MAME versions and will not run as many games at full speed on rPi hardware.

Roms Dir: /home/pi/RetroPie/roms/mame-libretro
Binary Dir: /opt/retropie/libretrocores/lr-mame2016
Config Dir: /opt/retropie/configs/mame-libretro/retroarch.cfg

MAME Version: 0.174 

[링크 : https://github.com/RetroPie/RetroPie-Setup/wiki/MAME#lr-mame2016-mame-2016]


+

2018.02.22


레트로 파이 설치하고 보니까 2003이 설정되어 있는 듯 하다.

MAME Version: 0.78 (December 2003)

lr-mame2000 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2000/mame2000_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg %ROM%"

lr-mame2003 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg %ROM%"

default = "lr-mame2003" 


구형 MAME에 신버전 롬 넣으면 작동하려나?

'프로그램 사용 > MAME' 카테고리의 다른 글

recalbox, retropie NAS 접속하기  (0) 2018.02.20
recalbox / MAME 버전  (0) 2018.02.20
mame rom set  (0) 2018.02.19
MAME rom 구조  (0) 2018.02.19
Emulation Station  (0) 2018.02.18
Posted by 구차니
embeded/FPGA - ALTERA2018. 2. 20. 09:06

문득.. 프로젝트들 중에 Schematic으로 된 것을 본 기억이 있어서

New을 해보니 헉... 이렇게 가까운데 있었다니!!


먼가 많이 익숙해 보이는(?) 아이콘들 발견


AND 게이트 아이콘 누르면 심볼이 있는데 아쉽게도(?)

orcad로 설계하듯 막 먼가 멋진 애가 있는건 아니고

ALTERA megafunction과 같이 좀 큰(!) 기본 제공 기능들과

primitives에 아~~~~주 기초적인 and/or/not 등의 녀석들만 존재한다.


모르니 대충대충 눌러서 끄적끄적


저으자아아아앙~


이거 하면 빌드 한다는데

에러도 없이 끝나는거 보면 대충봐서 무언가 한 단계 빼먹은 듯 ㅠㅠ

[링크 : ftp://ftp.altera.com/up/pub/Tutorials/DE2/Digital_Logic/tut_quartus_intro_schem.pdf]


Nios 2 하던 애라 기본으로 설정안되 있어서 그런 듯

아무튼 Files에서 "Set as Top-Level Entity"로 설정해주고 빌드하니 티가 안나서

(무슨무슨 선을 사용하지 않는다고 경고 뿜뿜)


마지막 OR 게이트의 선을 끊고 빌드하니 에러 발생! 되긴 되는거였군!


'embeded > FPGA - ALTERA' 카테고리의 다른 글

sopc builder -> qsys -> platform designer  (2) 2018.02.26
Nios II / Floating Point Hardware 2  (0) 2018.02.26
de0-nano communicate pc 로 검색결과  (0) 2018.02.14
Nios II 관련 링크  (0) 2018.02.13
Nios II 안된 이유가.. 설마..  (0) 2018.02.04
Posted by 구차니
프로그램 사용/MAME2018. 2. 19. 23:47

MAME 0.161 CHD/ROM 이후로는 Update Pack이다.

언제 다 받아 보려나.. -_-?!


CHDs.tar 353GB

ROMs.tar 51.2GB

[링크 : https://www.emuparadise.me/Complete_ROM_Sets_(Full_Sets_in_One_File)_ROMs/.../37]


+

2018.02.20

0.139~0.161 bios pack

[링크 : http://www.gameplanet.co.kr/xe/5704004]


버전은 미확인

2016-10-27 압축

[링크 : https://m.loveroms.com/extras/mame-bios.php]

'프로그램 사용 > MAME' 카테고리의 다른 글

recalbox / MAME 버전  (0) 2018.02.20
retropie / MAME 버전  (0) 2018.02.20
MAME rom 구조  (0) 2018.02.19
Emulation Station  (0) 2018.02.18
recalbox ?  (0) 2018.02.18
Posted by 구차니

우연찮게 발견한 기능!


TV와 HDMI로 연결되어 있는데

TV의 채널을 누르니

라즈베리 파이의 openELEC에서 다음 재생목록으로 넘어간다 -ㅁ-!!

맨날 리모컨으로만 설정해서 쓰다 보니 이런 건 또 처음해보네 ㅋㅋ


어떤 어떤 기능이 되려나?

사진이 작아서 안보이지만.. 집에 있는녀석은 삼성 구형 TV인데 머가 먼진 모르겠네 ^^;

System -> Settings -> System -> Input Devices -> Peripherals -> CEC adapter

CEC uses the remote.xml keymap, editing that XML file will allow you to customize most buttons. 

[링크 : https://kodi.wiki/view/CEC]

[링크 : https://en.wikipedia.org/wiki/Consumer_Electronics_Control]

'프로그램 사용 > kodi(xbmc)' 카테고리의 다른 글

openelec 블루투스 연결하기  (0) 2018.03.07
libreelec  (0) 2018.02.21
openELEC 8.0 관련  (0) 2017.05.16
kodi, openELEC / smb2 미지원?  (0) 2017.05.15
kodi remote  (0) 2015.04.07
Posted by 구차니

머.. 절대 저 사람들을 편들 마음이 있는건 아님

같은 남자로서도 쳐낼 방법이 없어서 못 쳐내는 악일뿐

남자라면 남자로서의 명예를 위해서라도 저런 존재는 쳐내고 싶음


아무튼 예전에 적은적이 있나 모르겠다만,

일정 나이가 되면 나라에서 급여, 숙식을 제공해서 재사회화를 강제로 하고

그 과정을 수료하지 않으면 선거권이나 국민으로서의 권리를 제한하는 식으로

진정한 의미의 "노인대학"이 필요하지 않을까 생각이 든다.


기술이 발전하고

사회의 변화속도가 빨라지도 있는 상황에서

불과 30~40년 전에 당연시 여겨지던 것들이 지금에 와서는 범죄로 간주되고 있고

모든 사람이 그러한 빠른 변화에 발 맞추어 변화될 수 없기에

어떤 식으로든 그러한 변화를 따라가지 못할 사람들을 업데이트 시켜야 할 필요는 있다고 보여진다.


어떻게 보면 과거에 인터넷 사용비용 등 정보에 접할 수 있는 권리가

이러한, 사회적 평등권리로 혹은 (범죄로 인한) 사회적 비용을 낮추는 복지로서 작용이 될 수 있었지만

지금에 와서는 한번 익혀두면 몇 십년 써먹는게 아닌 불과 1년전 배운 내용이 쓰레기가 되어버리는

상황이 되었고, 어쩌면 사회변화 속도가 특이점에 도달한 걸지도 모른다.


사람은 누구나 늙어가고

모든 사람이 어떠한 경지에 이를 수 있는 것도 아니다.


지금의 사회는 이래야 한다는 사람들도 10년 20년 30년 뒤에는 노인이 되고

그 사람들도 언젠가는 빨라지는 사회 변화 속도를 따라가지 못해

노인이 되고 도태되고 사회의 악으로 낙인찍히게 될 것이다.




+

만약에 사회의 변화 속도가

인간의 지닌 생물학적 변화속도를 뛰어넘게 된다면 어떻게 될까?

업데이트만 하다가 구버전이 되어, 모든 시스템이 현재에 적응 할 수 없게 되는 시대..

어쩌면 이것이 AI가 만들어낼 지옥이 될 수 있지 않을까?


반대로 사람이 육체를 가지고 육체의 속도에 두뇌가 늦게 작동하는 것은 육체라는 생물학적 리미트가 아닐까?

아니면 육체가 현실에 존재하기 위한 매개체 이자,

현실에 묶여있기 위해 정신과 육체의 괴리를 막기 위한 제한이 아닐까?


통속의 뇌 사고실험에서 처럼

말이나, 언어를 통한 물리적 수단의 제한이 없이

혼자 사고를 하거나, 다른 뇌와 전기적으로 오해없이 직접 의사소통이 가능해진다면

그 뇌의 사고 속도는 어떤 클럭(?)에 맞춰지게 될까?


[링크 : http://v.media.daum.net/v/20180219120539883]



+

페미니즘 카테고리가 아닌 이유는

페미니즘이나 MeToo 운동의 방향성에 대한 반박이나 경고가 아니기 때문


+

개 뻘 생각이지만

얼마전 읽은 진화심리학 관련한 발상


인간이 육체가 아닌 정신의 발전에 집중하여 동물과 같이 강인한 육체를 발전시키지 않은 이유는

육체라는 하드웨어적인 변화가 자연선택에 의해 진화가 되기 까지 걸리는 시간이 너무 오래 걸리기 때문에

사고의 변화를 통해 (알고리즘 개선) 더 빠르게 동일 하드웨어로 대응 가능한 폭을 넓혀

궁극적으로는 더 나은 생존확률을 모색하기 위한 다른 동물들은 선택하지 않은 "가지 않은 길"이 아니었을까?


육체라는 하드웨어는 강화하거나 유지보수하기에 너무 많은 비용이 드는데

그에 비해 뇌라는 하드웨어를 선택함으로서

상대적으로 약한 육체를 보완하여 무기를 만들어 내거나

빠른 변화속도를 이용하여 다른 상대를 압도할 수 있게 된다.

물론 초기에 생존할 수 있었던 우연이라는 요소가 있었고

생존에 적절한 수와 타인이 희생됨으로서 시간을 벌어 전체적인 종족이 승리할 수 있었고

그 과정에서 정신이 육체보다 우선되는 유전적인 선택이 있지 않았을까 한다

물론 그 과정은 유전자 풀의 변화를 가져오기에는 너무 짧은 기간이겠지만

그럼에도 불구하고 이러한 종족 보존을 위한 육체적 강자의 적재적소의 손실은

어느정도의 DNA 변화의 경향성에 영향을 주지 않았을까 생각된다.


아무튼, 프로그램에서도 과거에는 SW가 HW의 변화를 따라가지 못한다고 이야기 했지만

하드웨어 성능의 상향 평준화 이후에는, SW가 HW의 성능을 내지 못하는 문제를 넘어

SW끼리의 더 나은 성능을 내는 문제가 되었고 그 경쟁의 대상은 HW가 아닌 SW가 되었다.


HW가 핵심에서 단지 성능을 가속하기 위한 가속기로 전락하였으며

이런 추세라면 미래는 SW가 HW가 되는 세상이 오지 않을까 생각된다 (직설적으로 내가 HDL을 공부하는 이유)



언젠가 BCI 의 발전으로

인간의 뇌가 몸이라는 하드웨어를 벗어나

뇌만으로 이루어진 네트워크나, 뇌파가 아닌 뇌가 직접적으로 통신이 가능한 시대가 온다면

얼마나 더 빠른 사회변화가 발생하게 되게 될까?


반대로 너무 빨리 발전함으로서 블랙홀이 되서 사라지게 되지는 않을까?

생명게임에서 너무빠른 변화는 유지되지 못하고 사라지듯 사회로 전파되지 못하고

국소 지역에서 전파되지 못하는 속도로 빠르게 변화하고 멸종하게는 되지 않을까...


결국 전파로 인해서 사회가 변화되고

피드백 되는 속도에 사회발전 속도가 제한 될 수 밖에 없지 않을까.

그렇다면.. 그 "전파속도"는 rule 기반이라면

모든 구성원(node)의 rule 전파 속도에 사회가 변화될 수 있을까?

Posted by 구차니
embeded/raspberry pi2018. 2. 19. 14:09

레트로 파이 돌리다 보니

우측에 번개모양 아이콘이 떠서 찾아 보니 음.. 전력 부족이면 뜨는건가?


배포판 버전 올라가면서 단순하게 무지개 모양(쉐이더?) 에서 아이콘을 변경한건가..

아무튼 해당 부분 표현하는거 어디서 하는지 찾아 봐야겠다.

(보이는게 신경 쓰이기도 하고)


음.. rpi 2B에서 잘못 출력하는건가?

그래도 아이패드용 어댑터에서 5V는 정상적으로 나올텐데 4.63V/+-5% 보다 낮으면 띄운다니.. 머지?

Undervoltage warning

If the power supply to the Raspberry Pi drops below 4.63V (+/-5%), the following icon is displayed. 

[링크 : https://www.raspberrypi.org/documentation/configuration/warning-icons.md]

   [링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=177477]


아무튼 정석은 어댑터 교체이고 차선책(?)으로는 설정에서 해당 출력을 하지 않도록 해버림

$ sudo nano /boot/config.txt

# Disable under-voltage warning

avoid_warnings=1 

[링크 : https://scribles.net/lightning-bolt-under-voltage-warning-on-raspberry-pi/]

[링크 : https://www.raspberrypi.org/documentation/configuration/config-txt/misc.md]

---

Power: Ensure you have a good power supply which can steadily supply at least 2A at 5V. Many power supplies sag voltage and current under maximum load. If you see a lightning bolt icon or rainbow square in the top right corner during regular operation, this is the under-voltage warning and you are not supplying enough power. If you have USB devices plugged into the USB ports, considering getting a good powered USB hub to reduce power draw on the Pi. 

[링크 : https://www.reddit.com/r/RetroPie/wiki/faq]


aha so power brownout

Probably, although I haven't done an rpi-update and looked myself, and the commit doesn't say.

It would be the most logical one out of under-voltage and over-temp (yellow or red). 

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=159679]


Finally on the subject of icons, in the past if your Pi was working particularly hard, you might have noticed some yellow and red squares appearing in the top-right corner of the screen, which were indications of overtemperature or undervoltage. These have now been replaced with some new symbols that make it a bit more obvious what’s actually happening; there’s a lightning bolt for undervoltage, and a thermometer for overtemperature. 

[링크 : https://www.raspberrypi.org/blog/introducing-pixel]

    [링크 : https://raspberrypi.stackexchange.com/questions/57963/what-does-the-lightning-bolt-mean/57998]

[링크 : https://www.element14.com/.../pi3-shows-yellow-lightning-bolt-with-official-power-supply...]


+

어떤 레이어에서 출력하나 궁금하네..

단순한(?) OSD 레이어로 출력하는걸려나?


pi@raspberrypi:~ $ vcgencmd get_throttled

throttled=0x50000 

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790]


+

모니터 없이 써서 내가 몰랐던 걸려나.. 꽤 오래전 부터 있었네..

(생각해보니까 openELEC에서 계속 뜨는데 걍 뜨나보네.. 하고 무시하고 살았....)

pi@raspberrypi:~ $ sudo apt-get install stress stress-ng

pi@raspberrypi:~ $ stress-ng --cpu 4 --io 1 --vm 1 --vm-bytes 128M --timeout 10s --verbose 

[링크 : http://www.solanara.net/solanara/raspberry#head_raspberry_tip_warnicon]



+

커널받아서 검색중

Search "avoid_warnings" (1 hit in 1 file)

  D:\Download\linux-rpi-4.9.y\drivers\gpu\drm\vc4\Kconfig (1 hit)


config DRM_VC4

tristate "Broadcom VC4 Graphics"

depends on ARCH_BCM2835 || COMPILE_TEST

depends on DRM

depends on SND && SND_SOC

depends on COMMON_CLK

select DRM_KMS_HELPER

select DRM_KMS_CMA_HELPER

select DRM_GEM_CMA_HELPER

select DRM_PANEL

select SND_PCM

select SND_PCM_ELD

select SND_SOC_GENERIC_DMAENGINE_PCM

select DRM_MIPI_DSI

help

  Choose this option if you have a system that has a Broadcom

  VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.


  This driver requires that "avoid_warnings=2" be present in

  the config.txt for the firmware, to keep it from smashing

  our display setup. 



+

두개가 동일한 회로인진 모르겠지만.. 일단 Schematic 상에 2B V1.2 에는 

APX803 칩이 내장되어서 무언가 하긴 하는 듯?

[링크 : https://www.raspberrypi.org/.../schematics/Raspberry-Pi-2B-V1.2-Schematics.pdf]


[링크 : https://www.raspberrypi.org/.../schematics/Raspberry-Pi-3B-V1.2-Schematics.pdf]


외형상으로는 걍.. 3핀 SOT로 레귤레이터인가 보다.. 하고 넘어갔던 녀석중에 하나 인 듯


APX803-46의 리셋 경계값이 4.56V(Min) 4.63V(Typical) 4.70V(Max)

[링크 : http://www.mouser.com/ds/2/115/APX803_D-86185.pdf]


+

커널이 아닌 VideoCore IV Firmware에서 관할하기에

라즈베리 커널에서 이미지나 코드 관련해서 뒤져도 해당 아이콘의 이미지가 안나오는 것으로 예상된다

(즉, 내가 찾기 귀찮으니 이정도로 끝내겠다? ㅋㅋㅋ)

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=158777[]



+

끝이 아니라니..

이 놈이.. 온도 관련해서 센서 대신 사용하는 놈인가?

주변 온도에 따라 저항값이 달라지는데 이걸 사용하기에는 저항값 변화가 너무 적고..

용도가 머지?


N-CHANNEL ENHANCEMENT MODE MOSFET 

[링크 : https://www.diodes.com/assets/Datasheets/ds31783.pdf]


+

B+ 에서부터 깜박인다고 하는데 깜박이진 않고, 해당 마크에 대한 이야기가 없네.. 머지?

Red power LED is blinking

A blinking red power LED indicates problems with the power supply. On model A and B, it is hard-wired to the 3.3V power supply rail. If it is blinking, as one user has reported[1] it means the 5V power supply is dropping out. Use a different power supply.

On model B+ (and presumably also the A+), the circuit has been improved to give a much more reliable warning of poor power quality. The red power LED is wired to an APX803 supervisor[2] which kicks in when the 5V power supply drops below 4.63V[3]. If it does, the LED will blink. Check your connections, cable, and power supply.

[링크 : https://elinux.org/R-Pi_Troubleshooting#Red_power_LED_is_blinking]


그나저나.. 아이패드 충전기 5V 1A이고 USB 길이가 일어야 30cm도 안될 녀석인데

그 거리에 전압강하가 될리는 없고.. 실측하기도 빡센데 흐음.. 우짜지?

The Raspberry Pi 2 has a 2.2 amp polyfuse which limits the power which may be supplied via the microUSB socket. This is more than enough to power the Pi and the USB sockets.

Initially the USB sockets can only draw 600 mA. At worst this leaves 1.6 amps for the Pi2 and anything connected to the gpios.

By changing a setting after boot software can configure the USB sockets to draw up to 1.2 amps. At worst this leaves 1 amp for the Pi2 and anything connected to the gpios.

You haven't mentioned connecting anything to the gpios or the USB.

The only meaning to the rainbow square in the top right of the screen is that the 5V line has dropped beneath 4.65V.

If you trust the power supply to be accurate the other cause of low voltage is thin wires in the microUSB cable. 

[링크 : https://raspberrypi.stackexchange.com/questions/34305/undervoltage-rainbow-despite-good-power-supply]

Posted by 구차니
개소리 왈왈/블로그2018. 2. 19. 13:53

벌써 2년이 지났나.. 아니면 1년인가?

돈도 없는데 또 곧.. 도메인 결제의 시기가 다가오는구나.. ㅠㅠ



체크카드로 결제하려고 하다가 안되서

매우 빡침을 시전하고 무통장 입금으로 전환 ㅠㅠ

망할 액티브액스 ㅠㅠ



Posted by 구차니
하드웨어/Storage2018. 2. 19. 10:39

갑자기 무언가 바뀐건지 모르겠지만

gateway가 빠져있다고 외부에서 접속이 안되네..

(HTTP Connection timeout)


U+ 공유기에서 iptime으로 바꾸고 발생한건지

아니면 DSM 버전업되면서 무언가 달라진건지 모르겠지만


아무튼 이거 하나 설정해주니 잘되네.. ㄷㄷㄷ 머야

Posted by 구차니
회사일2018. 2. 19. 10:33

helix + coil인가

helicopter + coil 인가 고민하면서 찾아보니


helix가 어원일듯?


[링크 : https://starletzzang.blogspot.com/2017/03/helicoil.html]

[링크 : http://www.myworks.co.kr/xe/tools/109862]


[링크 : http://www.helicoil.in/]

'회사일' 카테고리의 다른 글

찾아 볼 것 들  (0) 2018.07.10
회사 가습기 고침 -_-  (4) 2018.03.26
접촉식 온도 센서  (0) 2018.02.09
레이저 프린터 백그라운드 현상(?)  (0) 2018.02.08
CAGE code / ECCN  (0) 2018.02.06
Posted by 구차니