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

部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員Sadaomi Nishi
 
5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一
5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一
5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一瑛一 西口
 
Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)
Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)
Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)keikoitakurag
 
研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計
研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計
研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計atsushi061452
 
Intranet Development v1.0 (TSG LIVE! 12 LT )
Intranet Development v1.0 (TSG LIVE! 12 LT )Intranet Development v1.0 (TSG LIVE! 12 LT )
Intranet Development v1.0 (TSG LIVE! 12 LT )iwashiira2ctf
 
ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521
ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521
ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521Satoshi Makita
 
論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose EstimationToru Tamaki
 
論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers
論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers
論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayersToru Tamaki
 
クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑
クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑
クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑Akihiro Kadohata
 
20240523_IoTLT_vol111_kitazaki_v1___.pdf
20240523_IoTLT_vol111_kitazaki_v1___.pdf20240523_IoTLT_vol111_kitazaki_v1___.pdf
20240523_IoTLT_vol111_kitazaki_v1___.pdfAyachika Kitazaki
 
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptxssuserbefd24
 

Dernier (11)

部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
 
5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一
5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一
5/22 第23回 Customer系エンジニア座談会のスライド 公開用 西口瑛一
 
Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)
Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)
Amazon Cognitoで実装するパスキー (Security-JAWS【第33回】 勉強会)
 
研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計
研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計
研究紹介スライド: オフライン強化学習に基づくロボティックスワームの制御器の設計
 
Intranet Development v1.0 (TSG LIVE! 12 LT )
Intranet Development v1.0 (TSG LIVE! 12 LT )Intranet Development v1.0 (TSG LIVE! 12 LT )
Intranet Development v1.0 (TSG LIVE! 12 LT )
 
ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521
ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521
ロボットマニピュレーションの作業・動作計画 / rosjp_planning_for_robotic_manipulation_20240521
 
論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
論文紹介:ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
 
論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers
論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers
論文紹介:Deep Occlusion-Aware Instance Segmentation With Overlapping BiLayers
 
クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑
クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑
クラウド時代におけるSREとUPWARDの取組ーUPWARD株式会社 CTO門畑
 
20240523_IoTLT_vol111_kitazaki_v1___.pdf
20240523_IoTLT_vol111_kitazaki_v1___.pdf20240523_IoTLT_vol111_kitazaki_v1___.pdf
20240523_IoTLT_vol111_kitazaki_v1___.pdf
 
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.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 に加える)。