CodeAsm
CPP and final project
Final school weeks, projects coming to a end an new summer vacation ideas are here.
First of all, I recieved my electronic parts from Samenkopen.net www.ledsee.com
also I recieved some free parts from NXP our dutch chip fab please take a look:
http://www.nxp.com/news/campaigns.html
so, anyway, most of the parts are finaly here for my last "mini embeded project" for school.
Thanks to Limor I was able to program my tft screen. I dint knew before that there was more example code availeble, but finding the same control chip made it easier:
Got the part from goodluckbuy: http://www.goodluckbuy.com/serial-1-8-tft-lcd-screen-module-itdb02-1-8sp.html

It has no sdcard function and at ebay they sell them for the same price with... but not at the time I got him.
Please check Lady Ada (Limor) her website for more code examples, ill post mine soon with the game, watch schematics. im building an portable watch/gameconsole.
http://www.ladyada.net/products/18tftbreakout/
also I like to tell you that im learning more C++ right now, because of school wants it.
So Im planning to program some demo and intro's for the PSX, more about this in a few days.
Have a nice day,
CodeAsm


C# MVC .net is Nice

I am working on an blog code in MVC and I must say, I like it. Why do I keep on using Php?
ALso I like to know if its posible to run MVC C# with .net on a Linux pc.
Some helpful websites:
http://blogs.msdn.com/b/stuartleeks/archive/2010/05/21/asp-net-mvc-creating-a-dropdownlist-helper-for-enums.aspx
http://blog.bennymichielsen.be/2011/05/21/entity-framework-4-1-supporting-enums/
and The next code is the example i was working on:
http://msdn.microsoft.com/en-US/data/jj591621
This is something i got today, it work :P after some editing and removing:
PM> Update-Database
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Applying code-based migrations: [201209141508585_AddColor].
Applying code-based migration: 201209141508585_AddColor.
System.Data.SqlClient.SqlException (0x80131904): Column names in each table must be unique. Column name 'FavoriteColor' in table 'dbo.Blogs' is specified more than once.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Data.Entity.Migrations.DbMigrator.ExecuteSql(DbTransaction transaction, MigrationStatement migrationStatement)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ExecuteSql(DbTransaction transaction, MigrationStatement migrationStatement)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable`1 migrationStatements)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.ExecuteStatements(IEnumerable`1 migrationStatements)
at System.Data.Entity.Migrations.DbMigrator.ExecuteOperations(String migrationId, XDocument targetModel, IEnumerable`1 operations, Boolean downgrading, Boolean auto)
at System.Data.Entity.Migrations.DbMigrator.ApplyMigration(DbMigration migration, DbMigration lastMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ApplyMigration(DbMigration migration, DbMigration lastMigration)
at System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable`1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.Upgrade(IEnumerable`1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update(String targetMigration)
at System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.RunCore()
at System.Data.Entity.Migrations.Design.ToolingFacade.BaseRunner.Run()
ClientConnectionId:d409dd5d-7262-4e16-84eb-73fd055b9474
Column names in each table must be unique. Column name 'FavoriteColor' in table 'dbo.Blogs' is specified more than once.
PM> Update-Database –TargetMigration: AddPostClass
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Reverting migrations: [201209141506262_dw].
Reverting automatic migration: 201209141506262_dw.
Automatic migration was not applied because it would result in data loss.
PM> Update-Database
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Applying code-based migrations: [201209131412100_InitialCreate, 201209131415289_AddBlogUrl, 201209131423385_AddPostClass, 201209141508585_AddColor].
Applying code-based migration: 201209131412100_InitialCreate.
Applying code-based migration: 201209131415289_AddBlogUrl.
Applying code-based migration: 201209131423385_AddPostClass.
Applying code-based migration: 201209141508585_AddColor.
Running Seed method.
PM>
Xbox Website
Im trying to get more detailed information about different parts of the Microsoft Game Console called Xbox.
Ill make a nice looking template and cms system to let you read more info, for now youl have to do it with some images and raw html:
Day 1-7 - Internet and its awesome websites

Finaly after using some weird functions I got Internet yesterday on my room at the Xiamen Software park. please press readmore to view more pictures and more about the first few weeks.
Summer projects and MSX
Recently I recieved a pakage from Japan containing the following ic:
Yamaha V9958

This is ofcourse a Video chip belonging to the 80s MSX series. Awesome looking 64pin DIP.
I did another search on the internet and yes, I realy like to build a MSX from scratch or at least a MSX upgrade card to turn my MSX to a Msx2 or even a MSX2+.
A qoute from Wiki:
The Yamaha V9958 is a Video Display Processor (VDP) used in MSX 80s home computers. More specifically, the MSX 2+, MSX turbo R and the "TIM" upgrade to the TI-99/4A. The Yamaha V9958, also known as MSX-Video, is the successor of the Yamaha V9938. It was clearly conceived not to be a very major upgrade to its predecessor, which hampered its adoption. The main new features are three graphical YJK modes (with up to 19268 colors) and horizontal scrolling registers.
I now want to buy the following:
YM2413 (maybe more, to play with) DIP14
YM2149 aka AY-3-8920 (DIP64, so i want to use it in a socket)
Some RAM chips for Video, CPU
And of course make a PCB for this all.
I also know that I have difficulties keeping my projects simple, ill start writing a add-on Card for my existing MSX, try making some game.
And maybe start making an upgrade card in such a way that an home-brew MSX can also use it. Magic everywhere. Also I realy need to go understand Glue logic.
Hope I don't break stuff :D
and I rly have no idea, maybe I should do something with my N8vem aswell, to get "into" stuff.
Remember this? its my N8vem, it still running so now and then. I should make some more cards for it :P

More Articles...
Page 5 of 10




