SlideShare une entreprise Scribd logo
1  sur  13
Android で 
Delphi を動かしてみる 
Hideaki Tominaga (a.k.a. DEKO)
DosBox (1) 
• DosBox というMS-DOS エミュレータがある。 
http://www.dosbox.com/ 
• DosBox のAndroid ポートとしては、 
aDosBox (無償) やanDosBox(有償) がある。 
• これを使えばDelphi を動作させられるよね? 
• 初代Delphi はWindows 3.1 で動作する 
16bit アプリケーション。 
• 誰も最新のDelphi をAndroid で動作させる 
なんて言ってませんヨ?
DosBox (2) 
• DosBox では日本語は通らない。 
• キーバインドも英語キーボードとなっている。 
• MS-DOS をエミュレートしており、 
本物のMS-DOS からイロイロ持ってきても 
日本語環境にする事はできない。 
• Windows 3.1J はMS-DOS 日本語版にしか 
インストールできない。 
• リアルMS-DOS を動作させるには、 
エミュレータBochs のHDD イメージ(ベタ) 
からブートする。
aDosBox 
• aDosBox はZ: にシステムがあり、 
C: としてAndroid の内部ストレージまたはSD 
カードをマウントする。 
• MS-DOS (英語版) で動作するアプリであれば、 
素直にインストールすれば動作する。 
• マウントはmount、アンマウントはmount –u、 
HDD イメージのマウントはimgmount。 
• マウントしたドライブからのブートには 
boot コマンドを用いる。
インストール手順(1) 
• SD カードにWindows 3.1 用のHDD イメージ 
をコピーしておく(/temp/win31.img)。 
• 今回はVirtual PC 用HDD イメージをNHC 
(http://euee.web.fc2.com/tool/nhc.html) で 
変換して使う事にした。 
• HDD イメージはBochs のベタ形式でなくては 
ならない。容量可変で80GB のHDD イメージ 
を変換すると80GB のベタイメージが出来てし 
まうので注意が必要!
インストール手順(2) 
• 新規でWindows 3.1J をインストールする場合 
には、MS-DOS のFD イメージと空のHDD イ 
メージをマウントしてからインストールする事 
になる。 
• 正直Windows 3.1 をインストールするなら英 
語版がいい。英語版に日本語環境を用意するに 
はWindows 3.1 (or 3.11) + Windows 3.1J 
+ Win/V が必要となる。 
• Win/V は現在では入手困難。 
http://www.amazon.co.jp/dp/4890525041
Z: (起動ドライブ) C: (/sdcard/) 
/sdcard/temp/win31.img 
(Windows 3.1J のHDD イメージ) 
初期状態
Z: (起動ドライブ) C: (/sdcard/) 
/sdcard/temp/win31.img 
(Windows 3.1J のHDD イメージ) 
C: をアンマウント 
C:/> mount –u c
/sdcard をD: ドライブとしてマウント 
Z: (起動ドライブ) D: (/sdcard/) 
/sdcard/temp/win31.img 
(Windows 3.1J のHDD イメージ) 
Z:/> mount d /sdcard
HDD イメージをC: ドライブとしてマウント 
Z: (起動ドライブ) C: (win31.img) D: (/sdcard/) 
D:/> imgmount c /temp/win31.img
Z: (起動ドライブ) C: (win31.img) 
D: (/sdcard/) 
C: ドライブからブート 
D:/> boot –l c
問題点 
• Delphi が起動時にエラーを吐く。 
• コンポーネント類が正しくロードされない。 
• anDosBox (有償版) なら正しく動作するのかも 
しれないが、ネタのためだけに購入する気には 
なれなかった(^^;A 
• コンソール用のプログラムは正しく動作する 
(WinCrt をuses に加える)。
https://www.youtube.com/watch?v=z1DvPZQqNio

Contenu connexe

Dernier

論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Gamesatsushi061452
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイスCRI Japan, Inc.
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルCRI Japan, Inc.
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...Toru Tamaki
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsWSO2
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video UnderstandingToru Tamaki
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptxsn679259
 

Dernier (10)

論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Android で Delphi を動かしてみる

  • 1. Android で Delphi を動かしてみる Hideaki Tominaga (a.k.a. DEKO)
  • 2. DosBox (1) • DosBox というMS-DOS エミュレータがある。 http://www.dosbox.com/ • DosBox のAndroid ポートとしては、 aDosBox (無償) やanDosBox(有償) がある。 • これを使えばDelphi を動作させられるよね? • 初代Delphi はWindows 3.1 で動作する 16bit アプリケーション。 • 誰も最新のDelphi をAndroid で動作させる なんて言ってませんヨ?
  • 3. DosBox (2) • DosBox では日本語は通らない。 • キーバインドも英語キーボードとなっている。 • MS-DOS をエミュレートしており、 本物のMS-DOS からイロイロ持ってきても 日本語環境にする事はできない。 • Windows 3.1J はMS-DOS 日本語版にしか インストールできない。 • リアルMS-DOS を動作させるには、 エミュレータBochs のHDD イメージ(ベタ) からブートする。
  • 4. aDosBox • aDosBox はZ: にシステムがあり、 C: としてAndroid の内部ストレージまたはSD カードをマウントする。 • MS-DOS (英語版) で動作するアプリであれば、 素直にインストールすれば動作する。 • マウントはmount、アンマウントはmount –u、 HDD イメージのマウントはimgmount。 • マウントしたドライブからのブートには boot コマンドを用いる。
  • 5. インストール手順(1) • SD カードにWindows 3.1 用のHDD イメージ をコピーしておく(/temp/win31.img)。 • 今回はVirtual PC 用HDD イメージをNHC (http://euee.web.fc2.com/tool/nhc.html) で 変換して使う事にした。 • HDD イメージはBochs のベタ形式でなくては ならない。容量可変で80GB のHDD イメージ を変換すると80GB のベタイメージが出来てし まうので注意が必要!
  • 6. インストール手順(2) • 新規でWindows 3.1J をインストールする場合 には、MS-DOS のFD イメージと空のHDD イ メージをマウントしてからインストールする事 になる。 • 正直Windows 3.1 をインストールするなら英 語版がいい。英語版に日本語環境を用意するに はWindows 3.1 (or 3.11) + Windows 3.1J + Win/V が必要となる。 • Win/V は現在では入手困難。 http://www.amazon.co.jp/dp/4890525041
  • 7. Z: (起動ドライブ) C: (/sdcard/) /sdcard/temp/win31.img (Windows 3.1J のHDD イメージ) 初期状態
  • 8. Z: (起動ドライブ) C: (/sdcard/) /sdcard/temp/win31.img (Windows 3.1J のHDD イメージ) C: をアンマウント C:/> mount –u c
  • 9. /sdcard をD: ドライブとしてマウント Z: (起動ドライブ) D: (/sdcard/) /sdcard/temp/win31.img (Windows 3.1J のHDD イメージ) Z:/> mount d /sdcard
  • 10. HDD イメージをC: ドライブとしてマウント Z: (起動ドライブ) C: (win31.img) D: (/sdcard/) D:/> imgmount c /temp/win31.img
  • 11. Z: (起動ドライブ) C: (win31.img) D: (/sdcard/) C: ドライブからブート D:/> boot –l c
  • 12. 問題点 • Delphi が起動時にエラーを吐く。 • コンポーネント類が正しくロードされない。 • anDosBox (有償版) なら正しく動作するのかも しれないが、ネタのためだけに購入する気には なれなかった(^^;A • コンソール用のプログラムは正しく動作する (WinCrt をuses に加える)。